/* =========================
   BOOKING CONTAINER
========================= */

.booking-container{
    max-width:1100px;
    margin:30px auto;
    background:white;
    display:flex;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    min-height:600px;
}

/* =========================
   TOP BAR
========================= */

.top-bar{
    display:flex;
    justify-content:flex-end;
    margin-bottom:20px;
}

.cancel-top{
    background:#ff4d4f;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

.cancel-top:hover{
    background:#e53935;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    width:30%;
    background:#eef3ff;
    padding:30px;
    display:flex;
    flex-direction:column;
}
/* Sidebar Header */
.sidebar h2 {
    color: #0B2559;
    font-weight: 700;
}
.summary{
    flex:1;
}

.summary-card{
    background:#ffffff;
    border:1px solid #dfe7ff;
    border-radius:12px;
    padding:14px;
    margin-bottom:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.summary-card .label{
    font-size:12px;
    color:#777;
    margin-bottom:5px;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.summary-card .value{
    font-size:15px;
    font-weight:600;
    color:#1e73be;
}
.sidebar-footer{
    margin-top:auto;
    padding-top:20px;
}

.sidebar-footer .title{
    font-weight:bold;
    margin-bottom:10px;
}

.phone{
    display:flex;
    gap:10px;
    align-items:center;
}

/* =========================
   CONTENT AREA
========================= */

.content{
    width:70%;
    padding:30px;
}

/* =========================
   STEPS
========================= */

.step{
    display:none;
}

.step.active{
    display:block;
}

/* =========================
   OPTIONS
========================= */

.option{
    padding:15px;
    border:2px solid #ddd;
    border-radius:12px;
    margin-bottom:10px;
    cursor:pointer;
}

.option:hover{
    background:#f0f6ff;
}

/* =========================
   INPUTS
========================= */

input,
select,
textarea{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:1px solid #ccc;
    border-radius:10px;
    box-sizing:border-box;
    outline:none;
    background:white;
    display:block;
}

/* select fix */
select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:none;
}

/* focus */
input:focus,
select:focus,
textarea:focus{
    border:1px solid #1e73be;
    box-shadow:none;
}

textarea{
    height:120px;
}

/* =========================
   🔥 BUTTON FIX (IMPORTANT)
========================= */

.buttons{
    display:flex !important;
    flex-direction:row !important;
    justify-content:flex-start !important;
    align-items:center !important;

    gap:12px;

    width:100%;
    margin-top:20px;
    padding-top:15px;
    border-top:1px solid #eee;

    flex-wrap:nowrap !important;
}

.buttons button{
    display:inline-flex !important;
    width:auto !important;
    white-space:nowrap;
    padding:10px 18px;
    border-radius:10px;
    border:none;
    font-weight:bold;
    cursor:pointer;
    min-width:100px;
}

/* Prev button */
.buttons button:first-child{
    background:#e0e0e0;
    color:#000;
}

/* Next button */
#nextBtn{
    background:#1e73be;
    color:white;
}

button:hover{
    opacity:0.9;
}

/* =========================
   TERMS BOX
========================= */

.terms-box{
    margin-top:25px;
    margin-bottom:25px;
    padding:18px;
    border:1px solid #f5c2c7;
    background:#fff5f5;
    border-radius:10px;
}

.terms-label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    line-height:1.6;
    font-size:14px;
}

.terms-label input{
    width:18px;
    height:18px;
    margin-top:4px;
}

/* =========================
   REVIEW
========================= */

#review{
    line-height:1.8;
    font-size:14px;
}

#review strong{
    display:inline-block;
    min-width:120px;
}

.review-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.edit-btn{
    background:#f0f4ff;
    color:#1e73be;
    border:1px solid #1e73be;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
}

.edit-btn:hover{
    background:#1e73be;
    color:#fff;
}

.review-actions{
    margin-top:25px;
    text-align:center;
}

.book-another-btn{
    background:#28a745;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

.book-another-btn:hover{
    background:#218838;
}

/* =========================
   COUNSELOR CARD
========================= */

.counselor-card{
    display:flex;
    gap:15px;
    padding:15px;
    border:2px solid #eee;
    border-radius:12px;
    cursor:pointer;
    margin-bottom:10px;
    transition:0.3s;
    align-items:center;
}

.counselor-card img{
    width:60px;
    height:60px;
    border-radius:10px;
    object-fit:cover;
}

.counselor-card.active{
    border-color:#1e73be;
    background:#f0f7ff;
}

/* =========================
   MODAL
========================= */

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{
    background:#fff;
    width:90%;
    max-width:500px;
    padding:30px;
    border-radius:20px;
    text-align:center;
    position:relative;
}

.close-modal{
    position:absolute;
    right:15px;
    top:15px;
    font-size:24px;
    cursor:pointer;
}

.modal-image{
    width:120px;
    height:120px;
    border-radius:15px;
    object-fit:cover;
    margin-bottom:15px;
}

.modal-specialization{
    color:#d59a5a;
    font-weight:bold;
    margin-bottom:20px;
}

.modal-details{
    background:#f5f5f5;
    padding:15px;
    border-radius:12px;
    text-align:left;
    margin-bottom:20px;
}

.modal-details p{
    margin:10px 0;
}

.choose-btn{
    width:100%;
    background:#1e73be;
    color:white;
    padding:14px;
    border:none;
    border-radius:12px;
    font-weight:bold;
    cursor:pointer;
}

.choose-btn:hover{
    background:#155a95;
}
.step-indicator{
    display:flex;
    gap:8px;
}

.booking-progress{
    display:flex;
    justify-content:flex-end; /* RIGHT SIDE */
    align-items:center;
    gap:8px;
    margin-bottom:25px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#d5d5d5;
    transition:0.3s;
}

.dot.active{
    background:#1e73be;
}

.dot.completed{
    background:#28a745;
}
/* =========================
   MOBILE
========================= */

@media(max-width:768px){
    .booking-container{
        flex-direction:column;
        min-height:auto;
    }

    .sidebar,
    .content{
        width:100%;
    }

    .buttons{
        justify-content:flex-start !important;
    }
}