:root {
    --bg: #f6f6f6;
    --panel: #ffffff;
    --muted: #9aa0a6;
    --accent: #e9eef0;
    --primary: #1f6aa5;
    --danger: #e04b4b;
    --radius: 10px;
    --card-radius: 12px;
    --shadow: 0 8px 20px rgba(20, 20, 20, 0.06);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Reset-ish */
* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: #111827;
    font-size: 15px;
    line-height: 1.4
}

/* Layout */
.app {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    min-height: 100vh
}

/* Sidebar */
.sidebar {
    background: #f3f6f6;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(0, 0, 0, 0.03)
}

.brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 26px
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-weight: 500
}

.nav a.active {
    background: var(--accent);
    color: #0f172a;
    font-weight: 600
}

.logout {
    color: var(--danger);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 12px
}

/* Main area */
.main {
    padding: 28px 36px
}

/* header */
.page-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px
}

.page-title {
    font-size: 36px;
    margin: 0;
    font-weight: 800
}

.page-sub {
    margin: 0;
    color: var(--muted);
    font-weight: 500
}

/* Controls row: search + filter */
.controls {
    margin: 12px 0 20px
}

.controls-row {
    display: flex;
    gap: 16px;
    align-items: center
}

.search-wrap {
    flex: 1
}

.search-wrap input[type="search"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--panel);
    font-size: 15px;
    outline: none;
}

.search-wrap input::placeholder {
    color: var(--muted)
}

.filter-wrap {
    width: 220px
}

.filter-wrap select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--panel);
    font-size: 15px;
    appearance: none;
    cursor: pointer;
}

/* Card & table */
.card {
    background: var(--panel);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 0
}

.table-card {
    padding: 18px
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px
}

.bookings-table thead th {
    text-align: left;
    padding: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #4b5563;
    font-weight: 600;
    font-size: 15px
}

.bookings-table tbody td {
    padding: 20px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    vertical-align: middle;
    color: #111827
}

.bookings-table tbody tr:last-child td {
    border-bottom: 0
}

/* Status select in table (styled to look like pill/button) */
.status-select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fbfcfd;
    font-weight: 600;
    cursor: pointer;
    min-width: 150px;
}

.status-select:focus {
    outline: 2px solid rgba(31, 106, 165, 0.12)
}

/* Amount column right alignment */
.bookings-table td:nth-child(6) {
    text-align: left
}

/* keep amount left as screenshot */

/* Actions */
.actions-col {
    width: 120px;
    text-align: center
}

.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.icon-btn {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.icon-btn:hover {
    background: #f6f7f8
}

.icon-btn.danger {
    color: var(--danger);
    border-color: rgba(224, 75, 75, 0.12)
}

/* small utility */
.card h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 800
}