
/* =========================================================
   MT - Online Randevu Kullanım Deneyimi
   ========================================================= */

.booking-progress{
    display:flex;
    align-items:center;
    gap:7px;
    margin:0 0 14px;
    padding:12px 14px;
    overflow-x:auto;
    border:1px solid #e5e7e9;
    border-radius:12px;
    background:#fff;
    scrollbar-width:none;
}
.booking-progress::-webkit-scrollbar{display:none}

.booking-progress-item{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:6px;
    color:#9299a1;
    transition:color .2s ease;
}
.booking-progress-item b{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#edf0f2;
    color:#6d747c;
    font-size:9px;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}
.booking-progress-item span{
    font-size:8px;
    font-weight:850;
    white-space:nowrap;
}
.booking-progress-item.is-current{
    color:#1c2024;
}
.booking-progress-item.is-current b{
    background:#e01020;
    color:#111;
    transform:scale(1.07);
}
.booking-progress-item.is-done{
    color:#456d50;
}
.booking-progress-item.is-done b{
    background:#e5f3e8;
    color:#347044;
}
.booking-progress-line{
    flex:1 0 18px;
    min-width:18px;
    height:1px;
    background:#e3e6e8;
}

.booking-card{
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}
.booking-card.is-current{
    border-color:#efadb4;
    box-shadow:0 8px 24px rgba(160,115,48,.09);
}
.booking-card.is-complete{
    border-color:#dce9df;
}

.choice-row:has(input:checked){
    background:#fff0f2;
    border-color:#efadb4;
}
.choice-row:has(input:checked) strong{
    color:#2a2116;
}

.booking-live-summary{
    position:sticky;
    z-index:20;
    bottom:10px;
    margin:14px auto 0;
    padding:12px 14px;
    border:1px solid rgba(205,157,79,.28);
    border-radius:12px;
    background:rgba(18,20,22,.96);
    color:#fff;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 15px 45px rgba(0,0,0,.18);
}
.booking-live-summary-head{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
}
.booking-live-summary-head strong{
    font-size:11px;
}
.booking-live-summary-head span{
    color:#ff3546;
    font-size:8px;
    font-weight:800;
}
.booking-live-summary-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
}
.booking-live-summary-grid div{
    min-width:0;
}
.booking-live-summary-grid span{
    display:block;
    color:#8f969e;
    font-size:7px;
    text-transform:uppercase;
}
.booking-live-summary-grid strong{
    display:block;
    margin-top:3px;
    overflow:hidden;
    color:#f4f4f4;
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.booking-live-summary-total{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    margin-top:9px;
    padding-top:9px;
    border-top:1px solid rgba(255,255,255,.08);
}
.booking-live-summary-total span{
    color:#9da3aa;
    font-size:8px;
}
.booking-live-summary-total strong{
    color:#ff3546;
    font-size:13px;
}

.booking-submit{
    position:relative;
    min-height:44px;
}
.booking-submit.is-loading{
    pointer-events:none;
    opacity:.78;
}
.booking-submit.is-loading::after{
    content:"";
    width:14px;
    height:14px;
    position:absolute;
    right:14px;
    top:50%;
    margin-top:-7px;
    border:2px solid rgba(255,255,255,.28);
    border-top-color:#fff;
    border-radius:50%;
    animation:bookingSpin .7s linear infinite;
}

.booking-success-card{
    max-width:820px;
    margin:0 auto;
    padding:24px;
    border:1px solid #e4e8e5;
    border-radius:15px;
    background:#fff;
    box-shadow:0 15px 42px rgba(0,0,0,.06);
}
.booking-success-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    margin-bottom:14px;
    border-radius:50%;
    background:#e8f6eb;
    color:#347145;
    font-size:24px;
    font-weight:900;
}
.booking-success-eyebrow{
    margin:0;
    color:#b80d18;
    font-size:9px;
    font-weight:900;
    letter-spacing:.8px;
}
.booking-success-card h2{
    margin:5px 0 6px;
    font-size:24px;
}
.booking-success-text{
    margin:0;
    color:#737b83;
    font-size:10px;
}
.booking-success-details{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:8px;
    margin-top:18px;
}
.booking-success-details div{
    padding:11px 12px;
    border:1px solid #e8eaec;
    border-radius:9px;
    background:#fafafa;
}
.booking-success-details span{
    display:block;
    color:#858c94;
    font-size:7px;
    font-weight:800;
    text-transform:uppercase;
}
.booking-success-details strong{
    display:block;
    margin-top:4px;
    font-size:10px;
}
.booking-lookup-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:12px;
    padding:13px;
    border:1px solid #efadb4;
    border-radius:10px;
    background:#fff0f2;
}
.booking-lookup-box span{
    display:block;
    color:#b80d18;
    font-size:7px;
    font-weight:900;
}
.booking-lookup-box strong{
    display:block;
    margin-top:4px;
    color:#352713;
    font-size:20px;
    letter-spacing:1.4px;
}
.booking-lookup-box small{
    display:block;
    margin-top:3px;
    color:#9b4b53;
    font-size:8px;
}
.booking-success-actions{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:15px;
}

@keyframes bookingSpin{
    to{transform:rotate(360deg)}
}

@media(max-width:700px){
    .booking-progress{
        position:sticky;
        z-index:25;
        top:66px;
        margin-left:-1px;
        margin-right:-1px;
        padding:9px 10px;
        border-radius:0 0 10px 10px;
        box-shadow:0 6px 18px rgba(0,0,0,.06);
    }

    .booking-progress-item span{
        display:none;
    }

    .booking-progress-line{
        min-width:10px;
    }

    .booking-live-summary{
        position:sticky;
        bottom:calc(8px + env(safe-area-inset-bottom));
        margin-left:0;
        margin-right:0;
        padding:10px 11px;
    }

    .booking-live-summary-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .booking-success-card{
        padding:18px 14px;
        border-radius:12px;
    }

    .booking-success-details{
        grid-template-columns:1fr;
    }

    .booking-lookup-box{
        align-items:flex-start;
        flex-direction:column;
    }

    .booking-success-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .booking-success-actions .btn{
        width:100%;
        min-height:40px;
        display:flex;
        align-items:center;
        justify-content:center;
        padding-left:8px;
        padding-right:8px;
        text-align:center;
        font-size:8px;
    }
}

@media(prefers-reduced-motion:reduce){
    .booking-card,
    .booking-progress-item,
    .booking-progress-item b{
        transition:none !important;
    }
}
