.booking-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:5000;

}

.booking-overlay.active{

    opacity:1;

    visibility:visible;

}

.booking-hidden-picker{

    position:absolute;

    opacity:0;

    width:1px;

    height:1px;

    pointer-events:none;

}

.booking-modal{

    width:900px;

    max-width:92%;

    max-height:90vh;

    overflow:auto;

    background:white;

    border-radius:30px;

    padding:35px;

    position:relative;

    transform:translateY(40px);

    transition:.35s;

}

.booking-overlay.active .booking-modal{

    transform:translateY(0);

}

.booking-close{

    position:absolute;

    top:20px;

    right:20px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#f4f4f4;

    cursor:pointer;

    font-size:18px;

}

.booking-header{

    margin-bottom:35px;

}

.booking-header h2{

    font-size:34px;

}

.booking-content{

    display:flex;

    flex-direction:column;

    gap:35px;

}

.booking-section h3{

    margin-bottom:15px;

}

.booking-select-btn{

    width:100%;

    padding:18px;

    border:2px dashed #C9A96E;

    border-radius:18px;

    background:white;

    cursor:pointer;

    transition:.25s;

    font-size:17px;

}

.booking-select-btn:hover{

    background:#faf7f1;

}

.booking-slots{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.booking-footer{

    margin-top:40px;

}

.booking-footer .gold-btn{

    width:100%;

}

#bookingComment{

    width:100%;

    border:1px solid #ddd;

    border-radius:16px;

    padding:15px;

    resize:none;

}

/*==========================
        MASTERS
==========================*/

.booking-masters{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));

    gap:20px;

}

.booking-master{

    background:white;

    border:2px solid #ececec;

    border-radius:22px;

    padding:18px;

    cursor:pointer;

    transition:.25s;

    text-align:center;

}

.booking-master:hover{

    border-color:#C9A96E;

    transform:translateY(-4px);

}

.booking-master.active{

    border-color:#C9A96E;

    background:#FBF7EF;

}

.booking-master img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:15px;

}

.booking-master-name{

    font-weight:600;

    margin-bottom:5px;

}

.booking-master-position{

    color:#888;

    font-size:14px;

}

.booking-select-btn.selected{

    border-style:solid;

    border-color:#C9A96E;

    background:#FBF7EF;

    font-weight:600;

}

.booking-success{
    display:flex;
    align-items:center;
    gap:15px;
    padding:30px;
    justify-content:center;
    text-align:left;
}

.booking-success img{
    width:40px;
    height:40px;
}

.booking-success-text{
    font-size:18px;
    font-weight:500;
}

.booking-success-body{
    display:grid;
    gap:15px;
    width:min(100%,520px);
}

.booking-prepayment-summary{
    position:relative;
    overflow:hidden;
    padding:22px;
    border:1px solid rgba(194,157,93,.35);
    border-radius:22px;
    color:#4f4438;
    background:
        radial-gradient(circle at 100% 0,rgba(218,187,126,.22),transparent 36%),
        linear-gradient(145deg,#fffdf8,#f8efe0);
    box-shadow:0 18px 46px rgba(78,57,30,.13);
    font-size:14px;
    line-height:1.5;
}

.booking-payment-heading{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:12px;
    align-items:center;
}

.booking-payment-icon{
    display:grid;
    width:46px;
    height:46px;
    place-items:center;
    border-radius:14px;
    color:#fff;
    background:linear-gradient(145deg,#c6a15c,#896225);
    box-shadow:0 10px 22px rgba(137,98,37,.25);
    font-size:23px;
    font-weight:900;
}

.booking-payment-heading div{display:grid;gap:2px}

.booking-payment-kicker{
    color:#9a7741;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.booking-payment-heading strong{
    color:#392f25;
    font-size:17px;
}

.booking-payment-provider{
    padding:6px 9px;
    border:1px solid #e6d5ba;
    border-radius:9px;
    color:#6a4e24;
    background:rgba(255,255,255,.7);
    font-size:12px;
    font-weight:900;
}

.booking-payment-details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:19px;
}

.booking-payment-details>div{
    display:grid;
    gap:4px;
    padding:13px 14px;
    border:1px solid rgba(218,199,170,.75);
    border-radius:14px;
    background:rgba(255,255,255,.72);
}

.booking-payment-details span{
    color:#887866;
    font-size:12px;
    font-weight:700;
}

.booking-payment-details strong{
    color:#382e24;
    font-size:21px;
    line-height:1.2;
}

.booking-payment-timer strong{color:#a65d2c}

.booking-payment-progress{
    height:5px;
    margin:12px 2px 16px;
    overflow:hidden;
    border-radius:99px;
    background:#e8dccb;
}

.booking-payment-progress span{
    display:block;
    width:100%;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#caa35e,#9a6b2c);
    transition:width .9s linear;
}

.booking-payment-note{
    margin:0 0 12px!important;
    padding:11px 13px;
    border-radius:12px;
    color:#80501f;
    background:#fff2dc;
    font-weight:700;
}

.booking-payment-offer{
    margin:0 0 7px!important;
    color:#6f6254;
}

.booking-payment-offer-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#805b24;
    font-weight:800;
    text-decoration:underline;
    text-underline-offset:3px;
}

.booking-prepayment-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:16px;
}

.booking-prepayment-actions button{
    min-height:45px;
    border-radius:12px;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}

.booking-prepayment-actions .gold-btn{
    border:0;
    color:#fff;
    background:linear-gradient(135deg,#b38a46,#835d24);
    box-shadow:0 10px 24px rgba(131,93,36,.24);
}

.booking-prepayment-cancel{
    border:1px solid #d9cfc1;
    color:#665c50;
    background:#f1ebe3;
}

.booking-prepayment-error{
    margin:12px 0 0!important;
    color:#b13030;
    font-weight:700;
}

.booking-certificate-section{
    gap:10px;
}

.booking-certificate-description,
.booking-certificate-hint{
    margin:0;
    color:#786b5d;
    font-size:13px;
    line-height:1.45;
}

.booking-certificate-control{
    width:100%;
    min-height:46px;
    padding:11px 13px;
    border:1px solid #ded2c2;
    border-radius:12px;
    color:#3d342b;
    background:#fff;
    font:inherit;
    outline:none;
    transition:border-color .2s,box-shadow .2s;
}

.booking-certificate-control:focus{
    border-color:#aa8245;
    box-shadow:0 0 0 3px rgba(170,130,69,.13);
}

.booking-certificate-divider{
    display:flex;
    align-items:center;
    gap:10px;
    color:#9a8c7d;
    font-size:12px;
}

.booking-certificate-divider::before,
.booking-certificate-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#e8ded1;
}

.booking-certificate-hint{
    padding:9px 11px;
    border-radius:10px;
    color:#705329;
    background:#f8f0e4;
}

@media(max-width:520px){
    .booking-success{align-items:flex-start;padding:22px}
    .booking-payment-heading{
        grid-template-columns:auto minmax(0,1fr);
    }
    .booking-payment-provider{
        grid-column:1/-1;
        justify-self:start;
    }
    .booking-payment-details{grid-template-columns:1fr}
    .booking-prepayment-actions{grid-template-columns:1fr}
}
