/* =========================================
   BOOKING STATUS PAGE
========================================= */

.booking-status-page {
    padding: 70px 20px;
    min-height: 70vh;
    background: #f7f9fc;
}

.booking-status-container {
    max-width: 900px;
    margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.booking-status-header {
    text-align: center;
    margin-bottom: 35px;
}

.booking-status-header h1 {
    margin: 0 0 10px;
    font-size: 34px;
    color: #17324d;
}

.booking-status-header p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}

/* =========================================
   SEARCH FORM
========================================= */

.booking-status-search {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}

.booking-status-search label {
    display: block;
    font-weight: 600;
    color: #26384a;
    margin-bottom: 8px;
}

.booking-status-search-row {
    display: flex;
    gap: 12px;
}

.booking-status-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #d7dee7;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-status-search input:focus {
    border-color: #168aad;
    box-shadow: 0 0 0 3px rgba(22, 138, 173, 0.12);
}

.booking-status-search .btn-primary {
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}

/* =========================================
   ERROR MESSAGE
========================================= */

.booking-status-message {
    padding: 15px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 15px;
}

.booking-status-message.error {
    background: #fff1f2;
    color: #b42318;
    border: 1px solid #fecdd3;
}

/* =========================================
   RESULT CARD
========================================= */

.booking-status-result {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

/* =========================================
   RESULT HEADER
========================================= */

.booking-status-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-bottom: 1px solid #edf0f4;
}

.booking-status-result-header div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.booking-status-result-header span:first-child {
    font-size: 13px;
    color: #7b8794;
}

.booking-status-result-header strong {
    font-size: 20px;
    color: #17324d;
    letter-spacing: 0.4px;
}

/* =========================================
   STATUS BADGES
========================================= */

.booking-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-pending {
    background: #fff7e6;
    color: #9a6700;
}

.status-confirmed {
    background: #ecfdf3;
    color: #067647;
}

.status-cancelled {
    background: #fff1f2;
    color: #b42318;
}

.status-completed {
    background: #eef2ff;
    color: #4338ca;
}

/* =========================================
   SECTIONS
========================================= */

.booking-status-section {
    padding: 28px 30px;
    border-bottom: 1px solid #edf0f4;
}

.booking-status-section h2 {
    margin: 0 0 20px;
    font-size: 19px;
    color: #17324d;
}

/* =========================================
   DETAIL GRID
========================================= */

.booking-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.booking-status-grid > div {
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
}

.booking-status-grid span {
    display: block;
    font-size: 13px;
    color: #7b8794;
    margin-bottom: 6px;
}

.booking-status-grid strong {
    display: block;
    font-size: 15px;
    color: #26384a;
}

/* =========================================
   NOTICE
========================================= */

.booking-status-notice {
    margin: 25px 30px 30px;
    padding: 20px;
    border-radius: 12px;
    background: #f4f8fb;
    border: 1px solid #dce8ef;
}

.booking-status-notice strong {
    display: block;
    margin-bottom: 6px;
    color: #17324d;
    font-size: 16px;
}

.booking-status-notice p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .booking-status-page {
        padding: 45px 15px;
    }

    .booking-status-header h1 {
        font-size: 28px;
    }

    .booking-status-header p {
        font-size: 14px;
    }

    .booking-status-search {
        padding: 20px;
    }

    .booking-status-search-row {
        flex-direction: column;
    }

    .booking-status-search .btn-primary {
        width: 100%;
    }

    .booking-status-result-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .booking-status-section {
        padding: 22px;
    }

    .booking-status-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-status-notice {
        margin: 20px 22px 22px;
    }
}

.payment-status-paid {
    color: #198754;
}

.payment-status-pending {
    color: #b58105;
}

.payment-status-failed {
    color: #dc3545;
}