/* ─── BOOKINGS LIST PAGE ─── */
.bookings-page {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
}

.bookings-page h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Tabs */
.bookings-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    color: var(--text-primary);
    font-family: inherit;
}

.tab:hover,
.tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* List */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.booking-item:hover {
    box-shadow: var(--shadow-md);
}

.booking-item__img {
    width: 100px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.booking-item__info {
    flex: 1;
}

.booking-item__info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.booking-item__info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.booking-item__dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.booking-item__dates i {
    width: 14px;
    height: 14px;
}

.booking-item__end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.booking-item__price {
    font-weight: 700;
    font-size: 1rem;
}

/* Status badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge--success { background: #dcfce7; color: #166534; }
.status-badge--warning { background: #fef3c7; color: #92400e; }
.status-badge--info { background: #dbeafe; color: #1e40af; }
.status-badge--danger { background: #fee2e2; color: #991b1b; }

[data-theme="dark"] .status-badge--success { background: #14532d; color: #bbf7d0; }
[data-theme="dark"] .status-badge--warning { background: #78350f; color: #fde68a; }
[data-theme="dark"] .status-badge--info { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .status-badge--danger { background: #7f1d1d; color: #fca5a5; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .booking-item__img {
        width: 100%;
        height: 160px;
    }

    .booking-item__end {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
}
