/* ===========================
   Booking Layout
=========================== */

.hb-booking {
    max-width:780px;
    margin:40px auto;
    background:#ffffff;
    border-radius:18px;
    padding:32px;
    box-shadow:0 24px 80px rgba(7, 27, 51, 0.08);
}

.hb-booking-form {
    display:grid;
    gap:18px;
}

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

.hb-field {
    display:flex;
    flex-direction:column;
	align-items: center;
    gap:8px;
}

@media(max-width:768px) {
    .hb-row {
        grid-template-columns:1fr;
    }
}

.hb-field label {
    color:#102a43;
    font-size:0.95rem;
    font-weight:700;
	width: 100%
}

.hb-field input,
.hb-field select,
.hb-slot-button {
    width:100%;
    border:1px solid #d9e2ec;
    border-radius:14px;
    padding:14px 16px;
    font-size:1rem;
    color:#102a43;
    background:#f8fafc;
    outline:none;
    transition:all 0.2s ease;
}

.hb-field input::placeholder {
    color:#627d98;
}

.hb-field input:focus,
.hb-field select:focus,
.hb-slot-button:focus {
    border-color:#486581;
    box-shadow:0 0 0 4px rgba(56, 113, 210, 0.12);
}

.hb-field select {
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
}

.hb-slot-field {
    position:relative;
}

.hb-slot-button {
    display:flex;
    align-items:center;
    justify-content:space-between;
    cursor:pointer;
    background:#ffffff;
    border:1px solid #d9e2ec;
}

.hb-slot-button i {
    color:#486581;
    font-size:1rem;
}

.hb-message {
    min-height:28px;
    color:#16425b;
    font-weight:600;
}

.hb-button-field {
    margin-top:4px;
}

.hb-submit-btn,
.wpcf7-form-control.wpcf7-submit.contact-btn {
    width: 236px;;
    border:none;
    border-radius:14px;
    padding:16px 18px;
    background:#0f6ecd;
    color:#ffffff;
    font-weight:700;
    font-size:1rem;
    cursor:pointer;
    transition:background 0.2s ease, transform 0.2s ease;
    text-transform:uppercase;
}

.hb-submit-btn:hover,
.wpcf7-form-control.wpcf7-submit.contact-btn:hover {
	background-color: var(--e-global-color-primary);
    transform:translateY(-1px);
}

.wpcf7-form-control.wpcf7-submit.contact-btn.has-spinner {
    position:relative;
}

.wpcf7-form-control.wpcf7-submit.contact-btn.has-spinner::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
}

/* ===========================
   Modal
=========================== */

.hb-card{

    display:flex;
    align-items:center;

    background:#8fa884;
    border-radius:3px;

    min-height:110px;

    overflow:hidden;

    transition:.3s;
}

.hb-card:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

/* ===========================
   Icon
=========================== */

.hb-icon{

    width:110px;

    min-width:110px;

    height:110px;

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

    display:flex;

    align-items:center;

    justify-content:center;

}

.hb-icon i{

    color:#fff;

    font-size:34px;

}

/* ===========================
   Content
=========================== */

.hb-content{

    flex:1;

    padding:20px;

}

.hb-content input,
.hb-content select{

    width:100%;

    background:transparent;

    border:none;

    color:#fff;

    font-size:22px;

    outline:none;

    box-shadow:none;

}

.hb-content input::placeholder{

    color:#f2f2f2;

}

.hb-content select{

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    cursor:pointer;

}

.hb-content option{

    color:#222;

}

.hb-label{

    color:#ffffff;

    font-size:14px;

    margin-bottom:5px;

}

.hb-static{

    color:#fff;

    font-size:28px;

    font-weight:600;

}

.hb-static small{

    display:block;

    font-size:16px;

    margin-top:5px;

    font-weight:400;

}

/* ===========================
   Slot Card
=========================== */

.hb-slot-card{

    cursor:pointer;

}

#hb_selected_slot{

    color:#fff;

    font-size:16px;

}

/* ===========================
   Button
=========================== */
@media (max-width: 768px) {
    #hb_book_btn {
        height: 70px;
        font-size: 16px;
    }
}
#hb_book_btn{
	text-align:left;
}
.hb-message.error {
    color: red;
}
.hb-message.success {
    color: green;
}

/* ===========================
   Modal
=========================== */

#hbModal{

    display:none;

    position:fixed;

    left:0;
    top:0;

    width:100%;
    height:100%;

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

    z-index:999999;

}

.hb-modal-box{

    width:900px;

    max-width:95%;

    max-height:80vh;

    overflow:auto;

    background:#fff;

    margin:70px auto;

    border-radius:8px;

}

.hb-modal-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    border-bottom:1px solid #eee;

    font-size:22px;

    font-weight:600;

}

#hbClose{

    cursor:pointer;

    font-size:28px;

}

/* ===========================
   Slots
=========================== */

#hb_slots{

    padding:25px;

}

.hb-slot{

    display:inline-block;

    margin:8px;

    padding:12px 22px;

    border:1px solid #8fa884;

    background:#fff;

    color:#4e6846;

    cursor:pointer;

    transition:.25s;

}

.hb-slot:hover{

    background:#8fa884;

    color:#fff;

}

.hb-slot.selected{

    background:#4e6846;

    color:#fff;

}

/* ===========================
   Responsive
=========================== */

@media(max-width:992px){

    .hb-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .hb-grid{

        grid-template-columns:1fr;

    }

    .hb-card{

        min-height:90px;

    }

    .hb-icon{

        width:80px;

        min-width:80px;

        height:90px;

    }

    .hb-content input,
    .hb-content select,
    #hb_selected_slot{

        font-size:18px;

    }

    #hb_book_btn{

        height:70px;

        font-size:16px;

    }

}

.hb-dropdown-list{

    display:none;

    position:absolute;

    left:0;
    top:110%;

    width:100%;

    background:#fff;


.hb-icon {
    width: 70px;
    min-width: 70px;
    height: 78px;
}

.hb-content {
    padding: 10px 16px;
}

.hb-content input,
.hb-dropdown-selected,
#hb_selected_slot {
    font-size: 18px;
}

#hb_book_btn {
    height: 58px;
    font-size: 20px;
}

.hb-grid {
    gap: 16px;
}
.hb-card{
    border-radius:6px;
    overflow:visible;
}

.hb-icon{
    border-radius:6px 0 0 6px;
}
.hb-card{
    position:relative;
}

.hb-card:has(.hb-dropdown.open){
    z-index:9999;
}