/* ==========================================
   STAY HATCH - MY BOOKINGS PAGE (Teal Theme)
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body {
    background: #F8FAFC;
    color: #0F172A;
    min-height: 100vh;
}

/* ==========================================
   NAVBAR (Teal)
   ========================================== */
.navbar {
    background: #0F766E;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 118, 110, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-svg {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-links a:hover { color: #FBBF24; }

.nav-links a.active {
    color: #FBBF24;
    border-bottom-color: #FBBF24;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
}

.nav-location i {
    color: #FBBF24;
    font-size: 11px;
}

.nav-icon-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 15px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.nav-icon-btn:hover { opacity: 1; }

.nav-account {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
}

.nav-account:hover { background: rgba(255, 255, 255, 0.25); }
.nav-account i { color: #FBBF24; font-size: 16px; }

/* ==========================================
   CONTAINER
   ========================================== */
.bookings-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 24px;
}

.section-header { margin-bottom: 30px; }

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
}

.section-header p {
    color: #64748B;
    font-size: 14px;
    margin-top: 5px;
}

/* ==========================================
   BOOKING TABS
   ========================================== */
.booking-tabs {
    display: flex;
    gap: 8px;
    background: #E2E8F0;
    padding: 5px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 10px 22px;
    border: none;
    background: transparent;
    color: #64748B;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.2px;
}

.tab-btn:hover { color: #0F172A; }

.tab-btn.active {
    background: #0F766E;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

/* ==========================================
   LOADING STATE
   ========================================== */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: #94A3B8;
}

.loading-state i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: #0F766E;
}

/* ==========================================
   BOOKING CARD
   ========================================== */
.booking-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.booking-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.booking-info h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.booking-info .location {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-info .location i { color: #0F766E; }

.booking-dates {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.date-box small {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 700;
    text-transform: uppercase;
}

.date-box p {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 2px;
}

.booking-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #475569;
}

.booking-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.booking-meta i { color: #0F766E; font-size: 12px; }

/* Status Badge & ID */
.booking-status { text-align: right; }

.booking-id {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.status-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.pending { background: #FEF3C7; color: #D97706; }
.status-badge.checked-in { background: #D1FAE5; color: #0F766E; }
.status-badge.checked-out { background: #E0E7FF; color: #3730A3; }
.status-badge.cancelled { background: #FEE2E2; color: #DC2626; }
.status-badge.no-show { background: #F3F4F6; color: #4B5563; }

.booking-price {
    font-size: 18px;
    font-weight: 800;
    color: #0F766E;
    margin-top: 12px;
    display: block;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #94A3B8;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: #CBD5E1;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

.empty-state a {
    background: #0F766E;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-actions { gap: 12px; }
    .nav-container { padding: 0 20px; }
}

@media (max-width: 768px) {
    .booking-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .booking-status {
        text-align: left;
        width: 100%;
        border-top: 1px dashed #E2E8F0;
        padding-top: 15px;
    }
}

@media (max-width: 600px) {
    .booking-tabs { width: 100%; }
    .tab-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 12px;
    }
}