
/* =====================================================
   SEITO – RESERVATION MODAL & BOOKING COMPONENTS
   Primary colour: #3BBF93
   Font: Jost
===================================================== */

:root {
    --seito-green: #3BBF93;
    --seito-green-dark: #269D76;
    --seito-green-light: #EAF8F1;
    --seito-dark: #193F35;
    --seito-text: #52645B;
    --seito-muted: #84918B;
    --seito-border: #E3ECE6;
    --seito-background: #F5F9F7;
    --seito-white: #FFFFFF;
}

/* =====================================================
   MODAL OVERLAY
===================================================== */

#seitoReservationModal {
    font-family: 'Jost', sans-serif;
}

#seitoReservationModal .modal-dialog {
    max-width: 650px;
    margin: 1.5rem auto;
}

#seitoReservationModal .modal-content {
    overflow: hidden;
    border: 1px solid var(--seito-border);
    border-radius: 14px;
    background: var(--seito-white);
    box-shadow: 0 18px 55px rgba(25, 63, 53, .16);
}

#seitoReservationModal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--seito-border);
    background: #FFFFFF;
}

#seitoReservationModal .modal-title {
    color: var(--seito-dark);
    font-size: 20px;
    font-weight: 700;
}

#seitoReservationModal .modal-header .btn-close {
    opacity: .65;
    box-shadow: none;
}

#seitoReservationModal .modal-body {
    padding: 23px 24px;
}

#seitoReservationModal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--seito-border);
    background: #FAFCFB;
}

/* =====================================================
   MODAL HEADING
===================================================== */

.reservation-modal-heading {
    margin-bottom: 20px;
}

.reservation-modal-heading .section-eyebrow {
    display: block;
    color: var(--seito-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 6px;
}

.reservation-modal-heading h3 {
    color: var(--seito-dark);
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 6px;
}

.reservation-modal-heading p {
    color: var(--seito-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   PROPERTY SUMMARY
===================================================== */

.reservation-property-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--seito-border);
    border-radius: 9px;
    background: #F7FAF8;
}

.reservation-property-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.reservation-property-info strong {
    color: var(--seito-dark);
    font-size: 16px;
    font-weight: 700;
}

.reservation-property-info span {
    color: var(--seito-muted);
    font-size: 12px;
}

.reservation-summary-rate {
    flex-shrink: 0;
    text-align: right;
}

.reservation-summary-rate strong {
    display: block;
    color: var(--seito-dark);
    font-size: 17px;
    font-weight: 750;
}

.reservation-summary-rate small {
    color: var(--seito-muted);
    font-size: 11px;
}

/* =====================================================
   FORM SECTIONS
===================================================== */

.reservation-form-section {
    padding: 15px 0;
    border-bottom: 1px solid #EDF1EE;
}

.reservation-form-section h6 {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--seito-dark);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.reservation-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--seito-green-light);
    color: var(--seito-green-dark);
    font-size: 13px;
}

/* =====================================================
   FORM FIELDS
===================================================== */

.booking-form-field {
    margin-bottom: 13px;
}

.booking-form-field:last-child {
    margin-bottom: 0;
}

.booking-form-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--seito-text);
    font-size: 12px;
    font-weight: 650;
}

.booking-form-field input,
.booking-form-field select,
.booking-form-field textarea {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #DCE7E0;
    border-radius: 7px;
    outline: none;
    background: #FFFFFF;
    color: var(--seito-dark);
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.booking-form-field textarea {
    min-height: 85px;
    resize: vertical;
}

.booking-form-field input:focus,
.booking-form-field select:focus,
.booking-form-field textarea:focus {
    border-color: var(--seito-green);
    box-shadow: 0 0 0 3px rgba(59, 191, 147, .11);
}

.booking-form-field input::placeholder,
.booking-form-field textarea::placeholder {
    color: #A4AEA8;
}

.booking-form-field select {
    cursor: pointer;
}

/* =====================================================
   TWO-COLUMN DATE AND GUEST FIELDS
===================================================== */

.booking-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

/* =====================================================
   PRICE ESTIMATE
===================================================== */

.booking-price-summary {
    margin-top: 18px;
    padding: 17px;
    border: 1px solid var(--seito-border);
    border-radius: 9px;
    background: #F7FAF8;
}

.booking-price-summary h3 {
    margin: 0 0 12px;
    color: var(--seito-dark);
    font-size: 16px;
    font-weight: 750;
}

.booking-price-summary h3 i {
    color: var(--seito-green-dark);
}

.booking-price-summary > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    color: var(--seito-text);
    font-size: 13px;
}

.booking-price-summary > div strong {
    color: var(--seito-dark);
    font-weight: 650;
    text-align: right;
}

.booking-price-summary .booking-total {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #DCE8E1;
    color: var(--seito-dark);
    font-size: 14px;
    font-weight: 700;
}

.booking-price-summary .booking-total strong {
    color: var(--seito-green-dark);
    font-size: 19px;
    font-weight: 800;
}

/* =====================================================
   AVAILABILITY MESSAGES
===================================================== */

.booking-availability {
    padding: 11px 13px;
    margin-top: 14px;
    border: 1px solid #E4ECE7;
    border-radius: 7px;
    background: #F4F8F6;
    color: var(--seito-text);
    font-size: 12px;
    line-height: 1.5;
}

.booking-availability i {
    margin-right: 6px;
}

.booking-availability.success {
    border-color: #C9EBDD;
    background: #EAF8F1;
    color: #18764E;
}

.booking-availability.error {
    border-color: #F2D1CE;
    background: #FFF0EF;
    color: #A33131;
}

.booking-availability.info {
    border-color: #E4ECE7;
    background: #F4F8F6;
    color: var(--seito-text);
}

/* =====================================================
   MODAL ACTIONS
===================================================== */

.reservation-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.reservation-modal-actions .btn {
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 7px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 650;
    transition: all .2s ease;
}

.reservation-modal-actions .btn-seito {
    border: 1px solid var(--seito-green);
    background: var(--seito-green);
    color: #FFFFFF;
}

.reservation-modal-actions .btn-seito:hover:not(:disabled) {
    border-color: var(--seito-green-dark);
    background: var(--seito-green-dark);
    color: #FFFFFF;
}

.reservation-modal-actions .btn-seito:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.reservation-modal-actions .btn-outline-secondary {
    border-color: #DCE5DF;
    color: var(--seito-text);
}

.reservation-modal-actions .btn-outline-secondary:hover {
    border-color: #C7D5CC;
    background: #F5F8F6;
    color: var(--seito-dark);
}

/* =====================================================
   PAYMENT ASSURANCE
===================================================== */

.booking-small-note {
    margin-top: 13px;
    color: var(--seito-muted);
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.booking-small-note i {
    color: var(--seito-green);
}

/* =====================================================
   RESERVATION PAGE COMPATIBILITY
===================================================== */

.seito-reservation-page .reservation-page-card {
    background: #FFFFFF;
}

.seito-reservation-page .reservation-form-section {
    padding: 13px 0;
}

.seito-reservation-page .booking-form-field input,
.seito-reservation-page .booking-form-field select,
.seito-reservation-page .booking-form-field textarea {
    font-family: 'Jost', sans-serif;
}

/* =====================================================
   RESPONSIVE LAYOUT
===================================================== */

@media (max-width: 767px) {

    #seitoReservationModal .modal-dialog {
        margin: 12px;
    }

    #seitoReservationModal .modal-header {
        padding: 16px;
    }

    #seitoReservationModal .modal-body {
        padding: 17px;
    }

    #seitoReservationModal .modal-footer {
        padding: 13px 17px;
    }

    .reservation-property-summary {
        align-items: flex-start;
    }

    .booking-date-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
}

@media (max-width: 480px) {

    .reservation-property-summary {
        gap: 8px;
        padding: 10px;
    }

    .reservation-property-info strong {
        font-size: 14px;
    }

    .reservation-summary-rate strong {
        font-size: 14px;
    }

    .reservation-form-section h6 {
        font-size: 14px;
    }

    .booking-price-summary {
        padding: 13px;
    }

    .reservation-modal-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .reservation-modal-actions .btn {
        width: 100%;
    }
}