/* =====================================
   BOOKING PAGE — PREMIUM / RESPONSIVE
===================================== */

/* =====================================
   PAGE
===================================== */

.booking-page{
    padding:clamp(64px, 8vw, 96px) 0;
}

/* =====================================
   HERO
===================================== */

.booking-hero{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:28px;
}

.booking-hero h1{
    margin:0;
    max-width:14ch;
}

.booking-intro{
    max-width:760px;
    margin:0;
    font-size:clamp(1rem, 1.2vw, 1.05rem);
    line-height:1.75;
    color:var(--text-soft);
}

/* =====================================
   SUMMARY
===================================== */

.booking-summary-card{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:14px;
    margin-bottom:24px;
    padding:18px;
    background:rgba(255,255,255,0.9);
    border:1px solid var(--line);
    border-radius:28px;
    box-shadow:var(--shadow-sm);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.booking-summary-item{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
    padding:16px 18px;
    background:var(--bg-soft);
    border:1px solid var(--line);
    border-radius:20px;
}

.booking-summary-label{
    color:var(--text-muted);
    font-size:0.82rem;
    font-weight:600;
    line-height:1.2;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.booking-summary-value{
    color:var(--text);
    font-size:1rem;
    font-weight:700;
    line-height:1.4;
    word-break:break-word;
}

/* =====================================
   GLOBAL LAYOUT
===================================== */

.booking-layout{
    display:grid;
    grid-template-columns:minmax(280px, 340px) minmax(0, 1fr);
    gap:24px;
    align-items:start;
}

.booking-sidebar,
.booking-content{
    min-width:0;
}

/* =====================================
   PANELS
===================================== */

.booking-filter-form,
.booking-create-form,
.booking-empty-card{
    padding:28px;
    background:rgba(255,255,255,0.9);
    border:1px solid var(--line);
    border-radius:28px;
    box-shadow:var(--shadow-sm);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.booking-panel-head{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:20px;
}

.booking-panel-head h2{
    margin:0;
    font-size:clamp(1.2rem, 2vw, 1.55rem);
    line-height:1.15;
}

.booking-panel-head p{
    margin:0;
    line-height:1.7;
    color:var(--text-soft);
}

/* =====================================
   FILTER FORM
===================================== */

.booking-filter-form{
    display:flex;
    flex-direction:column;
    gap:18px;
    position:sticky;
    top:110px;
}

/* =====================================
   EMPTY
===================================== */

.booking-empty-card h3{
    margin:0 0 10px;
    font-size:1.2rem;
    line-height:1.2;
}

.booking-empty-card p{
    margin:0;
    line-height:1.7;
    color:var(--text-soft);
}

/* =====================================
   CREATE FORM
===================================== */

.booking-create-form{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.booking-form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
}

.form-group-full{
    grid-column:1 / -1;
}

/* =====================================
   SLOTS
===================================== */

.booking-slots-block{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.slots-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(96px, 1fr));
    gap:12px;
}

.slot-option{
    position:relative;
    min-width:0;
}

.slot-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.slot-option span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff;
    color:var(--text);
    font-weight:700;
    text-align:center;
    cursor:pointer;
    transition:
        border-color var(--transition),
        background-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.slot-option span:hover{
    transform:translateY(-1px);
    box-shadow:var(--shadow-sm);
}

.slot-option input:focus + span{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(0,0,0,0.06);
}

.slot-option input:checked + span{
    border-color:var(--primary);
    background:var(--primary);
    color:#fff;
}

/* =====================================
   ALERTS
===================================== */

.booking-page .alert{
    margin-bottom:18px;
}

.booking-page .alert p{
    margin:0;
}

.booking-page .alert p + p{
    margin-top:8px;
}

/* =====================================
   LARGE TABLETS
===================================== */

@media (max-width: 1080px){

    .booking-layout{
        grid-template-columns:300px minmax(0, 1fr);
        gap:20px;
    }

    .booking-summary-card{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

/* =====================================
   TABLETS
===================================== */

@media (max-width: 900px){

    .booking-page{
        padding:60px 0;
    }

    .booking-hero h1{
        max-width:100%;
    }

    .booking-summary-card{
        grid-template-columns:1fr;
    }

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

    .booking-filter-form{
        position:static;
        top:auto;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 680px){

    .booking-page{
        padding:54px 0 48px;
    }

    .booking-intro{
        font-size:0.98rem;
        line-height:1.7;
    }

    .booking-filter-form,
    .booking-create-form,
    .booking-empty-card{
        padding:22px;
        border-radius:22px;
    }

    .booking-form-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .slots-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .booking-panel-head{
        margin-bottom:18px;
    }
}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 480px){

    .booking-page{
        padding:46px 0 42px;
    }

    .booking-hero{
        margin-bottom:22px;
    }

    .booking-summary-card{
        padding:14px;
        border-radius:22px;
    }

    .booking-summary-item{
        padding:14px 16px;
        border-radius:16px;
    }

    .booking-filter-form,
    .booking-create-form,
    .booking-empty-card{
        padding:20px;
        border-radius:20px;
    }

    .slots-grid{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .slot-option span{
        min-height:46px;
        border-radius:14px;
        font-size:0.95rem;
    }

    .booking-intro{
        font-size:0.95rem;
    }
}