/* =====================================================
   RESET
===================================================== */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


/* =====================================================
   BODY
===================================================== */

body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f7fb;

    color: #172033;

    min-height: 100vh;

}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    background: white;

    padding: 17px 7%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    box-shadow:
        0 2px 12px
        rgba(0, 0, 0, 0.08);

    position: sticky;

    top: 0;

    z-index: 100;

}


.logo {

    font-size: 23px;

    font-weight: bold;

}


.nav-links {

    display: flex;

    gap: 24px;

    align-items: center;

}


.nav-links a {

    color: #1f2937;

    text-decoration: none;

    font-weight: 600;

    font-size: 14px;

}


.nav-links a:hover {

    color: #2563eb;

}


.nav-links a.active {

    color: #2563eb;

}


/* =====================================================
   PAGE HEADER
===================================================== */

.page-header {

    text-align: center;

    padding: 45px 20px 30px;

}


.badge {

    display: inline-block;

    padding: 7px 13px;

    border-radius: 20px;

    background: #eef2ff;

    color: #3730a3;

    font-size: 12px;

    font-weight: bold;

}


.page-header h1 {

    font-size: 38px;

    margin-top: 13px;

    color: #111827;

}


.page-header p {

    margin-top: 8px;

    color: #6b7280;

    font-size: 16px;

}


/* =====================================================
   FILTER
===================================================== */

.booking-filter-section {

    width: 92%;

    max-width: 1200px;

    margin: 0 auto 25px;

}


.filter-box {

    background: white;

    padding: 10px;

    border-radius: 13px;

    box-shadow:
        0 4px 15px
        rgba(0, 0, 0, 0.06);

    display: flex;

    gap: 8px;

}


.filter-btn {

    border: none;

    background: transparent;

    padding: 11px 18px;

    border-radius: 9px;

    font-weight: bold;

    cursor: pointer;

    color: #4b5563;

}


.filter-btn:hover {

    background: #f3f4f6;

}


.filter-btn.active {

    background: #2563eb;

    color: white;

}


.results-count {

    margin-top: 12px;

    color: #6b7280;

    font-size: 14px;

}


/* =====================================================
   BOOKINGS
===================================================== */

.bookings-section {

    width: 92%;

    max-width: 1200px;

    margin: 0 auto 70px;

}


.bookings-container {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

}


/* =====================================================
   BOOKING CARD
===================================================== */

.booking-card {

    background: white;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.booking-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.09);

}


/* =====================================================
   CARD TOP
===================================================== */

.booking-top {

    padding: 19px 20px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 15px;

    border-bottom: 1px solid #f0f1f3;

}


.booking-type {

    font-size: 12px;

    font-weight: bold;

    color: #6b7280;

    margin-bottom: 6px;

}


.booking-title {

    font-size: 20px;

    color: #111827;

}


.booking-id {

    margin-top: 5px;

    color: #9ca3af;

    font-size: 12px;

}


/* =====================================================
   STATUS
===================================================== */

.status {

    display: inline-block;

    padding: 6px 11px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

    white-space: nowrap;

}


.status-pending {

    background: #fef3c7;

    color: #92400e;

}


.status-confirmed {

    background: #dcfce7;

    color: #166534;

}


.status-completed {

    background: #dbeafe;

    color: #1e40af;

}


.status-cancelled {

    background: #fee2e2;

    color: #991b1b;

}


/* =====================================================
   CONTENT
===================================================== */

.booking-content {

    padding: 20px;

}


.booking-row {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 9px 0;

    border-bottom: 1px solid #f3f4f6;

}


.booking-row:last-child {

    border-bottom: none;

}


.booking-label {

    color: #6b7280;

    font-size: 13px;

}


.booking-value {

    text-align: right;

    font-weight: 600;

    font-size: 14px;

    color: #111827;

}


/* =====================================================
   PRICE
===================================================== */

.booking-price {

    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #e5e7eb;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.booking-price span {

    color: #6b7280;

    font-size: 14px;

}


.booking-price strong {

    font-size: 22px;

    color: #111827;

}


/* =====================================================
   EMPTY / LOADING / ERROR
===================================================== */

.empty-state,
.loading-state,
.error-state {

    grid-column: 1 / -1;

    background: white;

    border-radius: 16px;

    padding: 60px 25px;

    text-align: center;

    border: 1px solid #e5e7eb;

}


.empty-icon {

    font-size: 45px;

    margin-bottom: 12px;

}


.empty-state h2,
.loading-state h2,
.error-state h2 {

    margin-bottom: 8px;

}


.empty-state p,
.loading-state p,
.error-state p {

    color: #6b7280;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 850px) {

    .bookings-container {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 650px) {

    .navbar {

        flex-direction: column;

        gap: 13px;

        padding: 15px 5%;

    }


    .logo {

        font-size: 20px;

    }


    .nav-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 13px;

    }


    .nav-links a {

        font-size: 13px;

    }


    .page-header {

        padding: 32px 15px 25px;

    }


    .page-header h1 {

        font-size: 30px;

    }


    .booking-filter-section,
    .bookings-section {

        width: 94%;

    }


    .filter-box {

        overflow-x: auto;

    }


    .filter-btn {

        white-space: nowrap;

    }


    .booking-top {

        flex-direction: column;

    }


    .booking-row {

        flex-direction: column;

        gap: 4px;

    }


    .booking-value {

        text-align: left;

    }

}