/* ==========================================================
   BOOKING PAGE
========================================================== */

.booking-page {
    min-height: calc(100vh - 80px);
    padding: 70px 0 100px;
    background:
            radial-gradient(circle at 15% 10%, rgba(201, 169, 110, 0.08), transparent 30%),
            radial-gradient(circle at 85% 20%, rgba(201, 169, 110, 0.05), transparent 28%),
            #08111f;
    color: #f5f0e8;
}

.booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.booking-header {
    margin-bottom: 35px;
}

.booking-title {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #f1c56b;
}

.booking-subtitle {
    margin-top: 8px;
    font-size: 18px;
    color: #b9c0cb;
}


/* ==========================================================
   LAYOUT
========================================================== */

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.booking-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-right {
    position: sticky;
    top: 30px;
}


/* ==========================================================
   SECTION CARD
========================================================== */

.booking-section {
    background: linear-gradient(
            145deg,
            rgba(20, 34, 53, 0.95),
            rgba(10, 22, 37, 0.95)
    );

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
}

.booking-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;

    font-size: 25px;
    font-weight: 700;
    color: #f5f0e8;
}

.booking-section-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(201, 169, 110, 0.12);
    color: #f1c56b;

    font-size: 18px;
}


/* ==========================================================
   ROOM ROW
========================================================== */

.room-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-room {
    min-height: 108px;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 12px;

    background: rgba(7, 18, 31, 0.75);

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;

    transition:
            transform 0.2s ease,
            border-color 0.2s ease,
            background 0.2s ease;
}

.booking-room:hover {
    transform: translateY(-2px);

    border-color: rgba(201, 169, 110, 0.30);

    background: rgba(12, 27, 45, 0.95);
}


/* ==========================================================
   ROOM IMAGE
========================================================== */

.booking-room-image {
    width: 130px;
    height: 84px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 9px;
}

.booking-room-info {
    flex: 1;
    min-width: 0;
}

.booking-room-name {
    margin: 0 0 5px;

    font-size: 20px;
    font-weight: 600;

    color: #ffffff;
}

.booking-room-price {
    margin: 0;

    font-size: 16px;
    color: #f1c56b;
}


/* ==========================================================
   AVAILABILITY
========================================================== */

.room-availability {
    display: inline-flex;

    margin-top: 9px;
    padding: 5px 10px;

    border-radius: 6px;

    background: rgba(34, 197, 94, 0.12);
    color: #63e68b;

    font-size: 13px;
    font-weight: 600;
}

.room-availability.unavailable {
    background: rgba(239, 68, 68, 0.12);
    color: #ff8080;
}


/* ==========================================================
   QUANTITY
========================================================== */

.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;

    flex-shrink: 0;
}

.quantity-btn {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    border: 1px solid rgba(255, 255, 255, 0.20);

    background: #172437;
    color: #ffffff;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    transition:
            background 0.2s ease,
            border-color 0.2s ease,
            transform 0.15s ease;
}

.quantity-btn:hover:not(:disabled) {
    border-color: #f1c56b;
    background: #26364e;

    transform: translateY(-1px);
}

.quantity-btn.plus {
    background: #e4ad4f;
    border-color: #e4ad4f;
    color: #08111f;
}

.quantity-btn.plus:hover:not(:disabled) {
    background: #f1c56b;
}

.quantity-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.quantity-value {
    width: 24px;

    text-align: center;

    font-size: 20px;
    font-weight: 600;
}


/* ==========================================================
   DATE / PAYMENT
========================================================== */

.booking-input {
    width: 100%;
    height: 58px;

    padding: 0 18px;

    border-radius: 9px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background: #111f32;
    color: #ffffff;

    font-size: 16px;
}

.booking-input:focus {
    outline: none;

    border-color: #f1c56b;

    box-shadow: 0 0 0 3px rgba(241, 197, 107, 0.10);
}

.booking-input::placeholder {
    color: #7d8795;
}

.booking-label {
    display: block;

    margin-bottom: 9px;

    color: #dfe3e8;

    font-size: 15px;
    font-weight: 600;
}


/* ==========================================================
   SUMMARY
========================================================== */

.booking-summary {
    padding: 27px;

    background: linear-gradient(
            145deg,
            rgba(20, 34, 53, 0.98),
            rgba(9, 19, 32, 0.98)
    );

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.summary-title {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    font-size: 24px;
    font-weight: 700;
}

.summary-title i {
    color: #f1c56b;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 0;

    color: #c6ccd5;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-line strong {
    color: #ffffff;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 22px;

    font-size: 18px;
    font-weight: 600;
}

.summary-total-price {
    color: #f1c56b;
    font-size: 29px;
}


/* ==========================================================
   PAYMENT NOTE
========================================================== */

.payment-note {
    margin-top: 25px;

    text-align: center;

    color: #c5cbd3;
}

.payment-note i {
    display: block;

    margin-bottom: 12px;

    font-size: 48px;

    color: #8b7347;
}

.payment-note strong {
    display: block;

    margin-bottom: 5px;

    color: #f1c56b;

    font-size: 18px;
}


/* ==========================================================
   BOOKING BUTTON
========================================================== */

.booking-submit {
    width: 100%;
    height: 68px;

    margin-top: 22px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
            135deg,
            #e9bc62,
            #c9953e
    );

    color: #101925;

    font-size: 20px;
    font-weight: 700;

    cursor: pointer;

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.booking-submit:hover:not(:disabled) {
    transform: translateY(-2px);

    box-shadow:
            0 12px 30px rgba(201, 149, 62, 0.25);
}

.booking-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* ==========================================================
   SECURITY NOTE
========================================================== */

.booking-security {
    margin-top: 15px;

    text-align: center;

    color: #aeb6c1;

    font-size: 14px;
}

.booking-security i {
    color: #f1c56b;
    margin-right: 5px;
}


/* ==========================================================
   FOOTER BENEFITS
========================================================== */

.booking-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 28px;

    padding: 22px;

    background: rgba(17, 31, 50, 0.75);

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    color: #c8ced6;
}

.booking-benefit i {
    font-size: 25px;
    color: #f1c56b;
}

.booking-benefit strong {
    display: block;
    color: #f1c56b;
}


/* ==========================================================
   ALERTS
========================================================== */

.booking-alert {
    margin-bottom: 20px;

    padding: 14px 18px;

    border-radius: 9px;
}

.booking-alert.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ff9a9a;
}

.booking-alert.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #70e89a;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-right {
        position: static;
    }

}


@media (max-width: 650px) {

    .booking-page {
        padding-top: 40px;
    }

    .booking-title {
        font-size: 36px;
    }

    .booking-section {
        padding: 18px;
    }

    .booking-room {
        flex-wrap: wrap;
    }

    .booking-room-image {
        width: 105px;
        height: 75px;
    }

    .quantity-control {
        width: 100%;
        justify-content: flex-end;
    }

    .booking-benefits {
        grid-template-columns: 1fr;
        gap: 18px;
    }

}