/* ============================================
   RESTAURANT BOOKING SYSTEM - Main Styles
   Modern, Elegant, Mobile-First
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-primary: #0f0f14;
    --bg-secondary: #1a1a24;
    --bg-card: #22222e;
    --bg-input: #2a2a38;
    --bg-hover: #32323f;
    --text-primary: #f0ece4;
    --text-secondary: #9a96a6;
    --text-muted: #6b677a;
    --accent: #c9a96e;
    --accent-light: #dfc48f;
    --accent-dark: #a88940;
    --success: #4ade80;
    --danger: #f87171;
    --warning: #fbbf24;
    --info: #60a5fa;
    --border: #2e2e3e;
    --border-light: #3a3a4a;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 480px;
    --admin-max-width: 1200px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

img { max-width: 100%; display: block; }

/* ============ LAYOUT ============ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.admin-container {
    width: 100%;
    max-width: var(--admin-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* ============ HEADER & NAV ============ */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.header-logo small {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Hamburger Menu */
.hamburger {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 201;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    padding: 80px 24px 24px;
    transition: right var(--transition);
    z-index: 200;
    overflow-y: auto;
}

.mobile-nav.open { right: 0; }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.nav-link:hover, .nav-link.active {
    background: var(--bg-hover);
    color: var(--accent);
}

.nav-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-divider { border-top: 1px solid var(--border); margin: 16px 0; }

/* ============ CARDS ============ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.card:hover { border-color: var(--border-light); }
.card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ============ FORMS ============ */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-input::placeholder { color: var(--text-muted); }
.form-input:disabled, .form-input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-secondary);
}

.form-textarea { min-height: 80px; resize: vertical; }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a96a6' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 6px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Phone input with prefix */
.phone-input-wrap {
    display: flex;
    align-items: stretch;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-input-wrap .form-input {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    width: 100%;
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--bg-hover); border-color: var(--border-light); }

.btn-danger { background: rgba(248,113,113,0.15); color: var(--danger); border: 1px solid rgba(248,113,113,0.2); }
.btn-danger:hover { background: rgba(248,113,113,0.25); }

.btn-success { background: rgba(74,222,128,0.15); color: var(--success); border: 1px solid rgba(74,222,128,0.2); }
.btn-success:hover { background: rgba(74,222,128,0.25); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

.btn-block { width: 100%; }

/* ============ OTP INPUT ============ */
.otp-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
    -webkit-appearance: none;
}

.otp-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15); }
.otp-input.filled { border-color: var(--accent); background: rgba(201, 169, 110, 0.08); }

/* ============ STEPS / PROGRESS ============ */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.step.active .step-dot { border-color: var(--accent); color: var(--accent); background: rgba(201, 169, 110, 0.1); }
.step.completed .step-dot { border-color: var(--success); color: var(--bg-primary); background: var(--success); }

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    transition: var(--transition);
}

.step.completed + .step-line, .step.completed ~ .step-line { background: var(--success); }

/* ============ TIME SLOT GRID ============ */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.slot-btn {
    padding: 12px 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.slot-btn:hover { border-color: var(--accent); background: rgba(201, 169, 110, 0.08); }
.slot-btn.selected { border-color: var(--accent); background: rgba(201, 169, 110, 0.15); color: var(--accent); }
.slot-btn.full { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.slot-available { font-size: 0.7rem; color: var(--text-muted); display: block; margin-top: 2px; }

.slot-section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

/* ============ COVERS SELECTOR ============ */
.covers-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 16px 0;
}

.covers-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.covers-btn:hover { border-color: var(--accent); color: var(--accent); }
.covers-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.covers-display {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 60px;
    text-align: center;
}

/* ============ DEPOSIT BOX ============ */
.deposit-box {
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    margin: 16px 0;
}

.deposit-box .deposit-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.deposit-box .deposit-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-light);
    font-family: var(--font-display);
}

.deposit-box .deposit-info {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.5;
}

.deposit-box .deposit-info strong { color: var(--accent-light); }

/* ============ ALERTS ============ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2); color: var(--success); }
.alert-danger { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.2); color: var(--danger); }
.alert-warning { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); color: var(--warning); }
.alert-info { background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2); color: var(--info); }

/* ============ BOOKING CONFIRMATION ============ */
.confirmation-card {
    text-align: center;
    padding: 40px 24px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(74,222,128,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.confirmation-code {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: var(--bg-input);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 16px 0;
}

.confirmation-details {
    margin-top: 24px;
    text-align: left;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.confirmation-row .label { color: var(--text-muted); }
.confirmation-row .value { font-weight: 600; color: var(--text-primary); }

/* ============ COUNTDOWN TIMER ============ */
.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 16px 0;
}

.timer.warning { color: var(--warning); }
.timer.expired { color: var(--danger); }

/* ============ LOADING SPINNER ============ */
.spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,15,20,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

/* ============ ADMIN: STATS GRID ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============ ADMIN: BOOKING LIST ============ */
.booking-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.booking-item:hover { border-color: var(--border-light); }

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.booking-name {
    font-weight: 600;
    font-size: 1rem;
}

.booking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-confirmed { background: rgba(74,222,128,0.15); color: var(--success); }
.badge-pending { background: rgba(251,191,36,0.15); color: var(--warning); }
.badge-deposit { background: rgba(201,169,110,0.15); color: var(--accent); }
.badge-cancelled { background: rgba(248,113,113,0.15); color: var(--danger); }
.badge-noshow { background: rgba(248,113,113,0.2); color: var(--danger); }
.badge-completed { background: rgba(96,165,250,0.15); color: var(--info); }
.badge-seated { background: rgba(168,137,252,0.15); color: #a889fc; }
.badge-vip { background: rgba(201,169,110,0.15); color: var(--accent); }
.badge-blacklisted { background: rgba(248,113,113,0.15); color: var(--danger); }

.booking-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ============ ADMIN: TABLE ============ */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.data-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:hover td { background: var(--bg-hover); }

/* ============ TABS ============ */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab {
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-body);
}

.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover { background: var(--bg-hover); color: var(--text-primary); }

/* ============ TOGGLE SWITCH ============ */
.toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.toggle {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-input);
    border-radius: 13px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); background: var(--bg-primary); }

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state svg { width: 48px; height: 48px; margin: 0 auto 12px; opacity: 0.3; }
.empty-state p { font-size: 0.9rem; }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.fade-in { animation: fadeIn 0.4s ease forwards; }
.slide-up { animation: slideUp 0.5s ease forwards; }

[data-step] { animation: slideUp 0.4s ease forwards; }

/* ============ SCREEN SECTIONS ============ */
.screen { display: none; }
.screen.active { display: block; }

/* ============ FOOTER ============ */
.footer {
    text-align: center;
    padding: 24px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

/* ============ DATE PICKER OVERRIDE ============ */
input[type="date"] {
    color-scheme: dark;
}

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
}

.toast {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    animation: slideUp 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

.toast-success { background: #166534; color: #bbf7d0; }
.toast-error { background: #991b1b; color: #fecaca; }
.toast-warning { background: #92400e; color: #fde68a; }

/* ============ DESKTOP BREAKPOINTS ============ */
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .slot-grid { grid-template-columns: repeat(4, 1fr); }
    
    .modal-overlay { align-items: center; }
    .modal {
        border-radius: var(--radius-lg);
        max-width: 540px;
    }
    
    .admin-container { padding: 0 24px; }
    
    .booking-item {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    
    .mobile-nav {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        border: none;
        background: transparent;
        display: flex;
        gap: 4px;
        overflow: visible;
    }
    
    .hamburger { display: none; }
    .nav-overlay { display: none !important; }
    .nav-divider { display: none; }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 0.85rem;
        margin-bottom: 0;
    }
}

/* ============ PRINT ============ */
@media print {
    .header, .hamburger, .mobile-nav, .nav-overlay, .btn, .booking-actions { display: none !important; }
    body { background: #fff; color: #000; }
    .card, .booking-item, .stat-card { border: 1px solid #ddd; background: #fff; }
}
