﻿
/* White modern quote page (Bootstrap-friendly) */
.q-page {
    background: #ffffff;
}

.q-header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.q-h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #0f172a;
}

.q-muted {
    color: rgba(15, 23, 42, .62);
}

.q-card {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .10) !important;
}

.q-steps {
    gap: 8px;
    flex-wrap: wrap;
}

    .q-steps .nav-link {
        border-radius: 999px;
        padding: 8px 12px;
        background: rgba(15, 23, 42, .04);
        color: rgba(15, 23, 42, .75);
        border: 1px solid rgba(15, 23, 42, .10);
        font-weight: 600;
    }

        .q-steps .nav-link.active {
            background: rgba(99, 102, 241, .10);
            border-color: rgba(99, 102, 241, .35);
            color: #3730a3;
        }

.q-control {
    border-radius: 14px !important;
    border-color: rgba(15, 23, 42, .14) !important;
}

    .q-control:focus {
        border-color: rgba(99, 102, 241, .55) !important;
        box-shadow: 0 0 0 .25rem rgba(99, 102, 241, .18) !important;
    }

.q-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(15, 23, 42, .12);
}

    .q-step-actions:has(button:only-child) {
        justify-content: flex-end;
    }

.q-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .05);
    border: 1px solid rgba(15, 23, 42, .12);
    font-size: 12px;
    color: rgba(15, 23, 42, .75);
}

.q-summary {
    top: 18px;
}

.q-sum-title {
    font-weight: 800;
    color: #0f172a;
}

.q-list .list-group-item {
    padding-left: 0;
    padding-right: 0;
    border-color: rgba(15, 23, 42, .08);
}

.q-k {
    font-size: 12px;
    color: rgba(15, 23, 42, .55);
}

.q-v {
    font-weight: 700;
    color: rgba(15, 23, 42, .90);
    font-size: 13px;
}

.q-submit {
    border-radius: 14px !important;
    padding-left: 16px;
    padding-right: 16px;
}

/* Tooltip help icon */
.q-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-help {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .18);
    background: rgba(15, 23, 42, .04);
    color: rgba(15, 23, 42, .70);
    font-size: 12px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    line-height: 1;
}

    .q-help:hover {
        background: rgba(99,102,241,.08);
        border-color: rgba(99,102,241,.35);
        color: #3730a3;
    }

/* Mold preview */
.q-mold-preview {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(15, 23, 42, .03);
    border-radius: 14px;
    padding: 10px 12px;
}

.q-mold-preview__img img {
    width: 92px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    padding: 6px;
}


/* Manual tooltip (Bootstrap JS yoksa bile çalışır) */
.q-tooltip {
    position: fixed;
    z-index: 999999;
    max-width: 320px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #111827;
    color: rgba(255,255,255,.95);
    font-size: 12.5px;
    line-height: 1.35;
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .12s ease, transform .12s ease;
}

    .q-tooltip.is-open {
        opacity: 1;
        transform: translateY(0);
    }

    .q-tooltip::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        background: #111827;
        transform: rotate(45deg);
        left: 18px;
        bottom: -5px;
    }


/* ? butonları tıklanabilir olsun */
.q-help {
    position: relative;
    z-index: 20;
    cursor: pointer;
}

/* Manual tooltip */
.q-tooltip {
    position: fixed;
    z-index: 999999;
    max-width: 340px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #111827;
    color: rgba(255,255,255,.95);
    font-size: 12.5px;
    line-height: 1.35;
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .12s ease, transform .12s ease;
    pointer-events: none; /* tooltip tıklama engellemesin */
}

    .q-tooltip.is-open {
        opacity: 1;
        transform: translateY(0);
    }

    .q-tooltip::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        background: #111827;
        transform: rotate(45deg);
        left: 18px;
        bottom: -5px;
    }