/* =========================================
   MODERN MARWAN BOOKING MODAL - COMPACT
========================================= */

/* MODAL */
#bookingModal .modal-dialog {
    max-width: 500px;
    margin: 8px auto;
}


/* MODAL CONTENT */
#bookingModal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(36, 90, 168, 0.25);
}


/* =========================================
   HEADER
========================================= */

.booking-modal-header {
    background: linear-gradient(135deg, #245aa8, #38c7d2);
    color: #fff;

    padding: 13px 18px;

    border-radius: 22px 22px 0 0;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;
}


.booking-modal-header>div {
    flex: 1;
    min-width: 0;
}


.booking-header-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: 0.9;
}


.booking-modal-header .modal-title {
    font-size: 16px;
    line-height: 1.2;

    color: #fff;

    margin: 4px 0 0;
}


/* CLOSE BUTTON */

.booking-close-btn {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    margin-left: auto;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.12);
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all 0.3s ease;
}


.booking-close-btn:hover {
    background: #fff;
    color: #245aa8;
    transform: rotate(90deg);
}


.booking-close-btn i {
    font-size: 14px;
}


/* =========================================
   FORM
========================================= */

.booking-modern-form {
    background: #fff;
}


/* =========================================
   MODAL BODY - NO SCROLL
========================================= */

#bookingModal .modal-body {
    overflow: hidden !important;
    padding: 14px 20px !important;
}


/* =========================================
   SECTION TITLES
========================================= */

.booking-form-title {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    font-weight: 700;

    color: #245aa8;

    margin-bottom: 8px;
}


.booking-form-title i {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(56, 199, 210, 0.12);
    color: #245aa8;

    font-size: 13px;
}


/* =========================================
   ROW SPACING
========================================= */

.booking-modern-form .row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
}


/* =========================================
   INPUT GROUP
========================================= */

.booking-input-group,
.booking-textarea-group {
    position: relative;
}


.booking-input-group>i,
.booking-textarea-group>i {
    position: absolute;

    left: 12px;
    top: 50%;

    transform: translateY(-50%);

    color: #38aeb9;

    z-index: 3;

    font-size: 13px;

    pointer-events: none;
}


/* =========================================
   NORMAL INPUTS
========================================= */

.booking-input-group .form-control,
.booking-select,
.booking-input {
    height: 42px;

    border: 1px solid #e5edf2;
    border-radius: 10px;

    background: #fbfdff;
    color: #334155;

    font-size: 13px;

    transition: all 0.3s ease;
}


.booking-input-group .form-control {
    padding-left: 38px;
}


.booking-select {
    padding-left: 38px !important;
}


/* INPUT HOVER */

.booking-input-group .form-control:hover,
.booking-select:hover,
.booking-input:hover {
    border-color: rgba(56, 199, 210, 0.6);
}


/* INPUT FOCUS */

.booking-input-group .form-control:focus,
.booking-select:focus,
.booking-input:focus,
.booking-textarea-group textarea:focus {
    border-color: #38c7d2;

    background: #fff;

    box-shadow: 0 0 0 3px rgba(56, 199, 210, 0.10);

    outline: none;
}


/* =========================================
   LABELS
========================================= */

.booking-label {
    display: flex;
    align-items: center;
    gap: 4px;

    font-size: 11px;
    font-weight: 600;

    color: #64748b;

    margin-bottom: 4px;
}


.booking-label i {
    color: #245aa8;
}


/* =========================================
   TEXTAREA
========================================= */

.booking-textarea-group textarea {
    min-height: 58px;
    height: 58px;

    padding: 10px 12px 10px 38px;

    border: 1px solid #e5edf2;
    border-radius: 10px;

    background: #fbfdff;

    resize: none;

    font-size: 13px;

    transition: all 0.3s ease;
}


.booking-textarea-group>i {
    top: 14px;
    transform: none;
}


/* =========================================
   PLACEHOLDER
========================================= */

.booking-modern-form .form-control::placeholder {
    color: #94a3b8;
    opacity: 1;
}


/* =========================================
   FOOTER
========================================= */

.booking-modal-footer {
    background: #fff;

    padding: 8px 20px 14px !important;

    border-top: 1px solid #f1f5f9 !important;
}


/* SUBMIT BUTTON */

.booking-submit-btn {
    height: 45px;

    border: none;
    border-radius: 11px;

    background: linear-gradient(135deg, #245aa8, #38c7d2);
    color: #fff;

    font-weight: 700;
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    cursor: pointer;

    box-shadow: 0 6px 16px rgba(36, 90, 168, 0.20);

    transition: all 0.3s ease;
}


.booking-submit-btn:hover {
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(36, 90, 168, 0.30);
}


.booking-submit-btn i {
    transition: transform 0.3s ease;
}


.booking-submit-btn:hover i {
    transform: translateX(4px);
}


/* =========================================
   PAGE SCROLL DISABLE
========================================= */

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}


/* =========================================
   SMALL LAPTOP / SHORT SCREEN
========================================= */

@media (max-height: 750px) {

    .booking-modal-header {
        padding: 10px 16px;
    }

    #bookingModal .modal-body {
        padding: 10px 18px !important;
    }

    .booking-form-title {
        margin-bottom: 6px;
    }

    .booking-modern-form .row {
        --bs-gutter-y: 7px;
    }

    .booking-textarea-group textarea {
        height: 48px;
        min-height: 48px;
    }

    .booking-modal-footer {
        padding: 6px 18px 10px !important;
    }

    .booking-submit-btn {
        height: 42px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    #bookingModal .modal-dialog {
        margin: 6px;
        max-width: none;
    }

    #bookingModal .modal-content {
        border-radius: 16px;
    }

    .booking-modal-header {
        padding: 10px 14px;
        border-radius: 16px 16px 0 0;
    }

    .booking-modal-header .modal-title {
        font-size: 14px;
    }

    .booking-modern-form .modal-body {
        padding: 10px 14px !important;
    }

    .booking-modal-footer {
        padding: 8px 14px 12px !important;
    }

    .booking-input-group .form-control,
    .booking-select,
    .booking-input {
        height: 40px;
    }
}