/* ============================================
   Resort Reservation System - Main Stylesheet
   Design: Clean Purple/White Admin Theme
   ============================================ */

:root {
    --purple-50: #f5f3ff;
    --purple-100: #ede9fe;
    --purple-200: #ddd6fe;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --purple-800: #5b21b6;
    --purple-900: #4c1d95;

    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;

    --amber-400: #fbbf24;
    --amber-500: #f59e0b;

    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;

    --blue-400: #60a5fa;
    --blue-500: #3b82f6;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --sidebar-width: 240px;
    --topbar-height: 60px;
    --border-radius: 10px;
    --border-radius-sm: 6px;
    --border-radius-lg: 16px;
    --transition: all 0.2s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    display: flex;
    min-height: 100vh;
    font-size: 14px;
}

/* ============ SIDEBAR ============ */
.sidebar {
    width: var(--sidebar-width);
    background: #1e1b4b;
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: var(--transition);
    overflow: hidden;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.side_logo{
    max-width: 50px;
}
/*.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}
*/
.logo-text { display: flex; flex-direction: column; }
.logo-name { color: white; font-weight: 700; font-size: 14px; line-height: 1.2; }
.logo-sub { color: rgba(255,255,255,0.4); font-size: 11px; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.nav-section { margin-bottom: 4px; }

.nav-label {
    display: block;
    padding: 8px 20px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 0;
    margin: 1px 10px;
    border-radius: 8px;
}

.nav-item:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

.nav-item.active {
    color: white;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    box-shadow: 0 4px 12px rgba(109,40,217,0.4);
}

.nav-item i { width: 18px; text-align: center; font-size: 14px; }

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.user-avatar {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.user-details { display: flex; flex-direction: column; min-width: 0; }
.user-name { color: white; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { color: rgba(255,255,255,0.4); font-size: 11px; }

.logout-btn {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
}
.logout-btn:hover { color: var(--red-400); background: rgba(239,68,68,0.1); }

/* ============ MAIN CONTENT ============ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--transition);
}

/* ============ TOPBAR ============ */
.topbar {
    height: var(--topbar-height);
    background: white;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }

.sidebar-toggle {
    background: none; border: none; cursor: pointer;
    color: var(--gray-500);
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--gray-100); color: var(--gray-700); }

.search-wrap {
    display: flex; align-items: center; gap: 10px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 8px 14px;
    width: 280px;
}
.search-wrap i { color: var(--gray-400); font-size: 13px; }
.search-wrap input {
    border: none; background: none;
    font-size: 13px; color: var(--gray-700);
    outline: none; width: 100%;
    font-family: inherit;
}
.search-wrap input::placeholder { color: var(--gray-400); }

.topbar-date { 
    font-size: 12px; color: var(--gray-500); 
    display: flex; align-items: center; gap: 6px;
}

.icon-btn {
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}
.icon-btn:hover { background: var(--gray-100); color: var(--gray-700); }

.badge-dot {
    width: 7px; height: 7px;
    background: var(--red-500);
    border-radius: 50%;
    position: absolute;
    top: 6px; right: 6px;
    border: 2px solid white;
}

/* ============ PAGE CONTENT ============ */
.page-content { padding: 24px; flex: 1; }

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

.page-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.3px;
}

.page-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ============ CARDS ============ */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
}

.card-body { padding: 20px; }

/* ============ STAT CARDS ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon.purple { background: var(--purple-100); color: var(--purple-600); }
.stat-icon.green { background: #dcfce7; color: var(--green-600); }
.stat-icon.amber { background: #fef3c7; color: #d97706; }
.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.red { background: #fee2e2; color: var(--red-600); }

.stat-info { flex: 1; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.stat-change { font-size: 11px; margin-top: 6px; }
.stat-change.up { color: var(--green-600); }
.stat-change.down { color: var(--red-600); }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    color: white;
    box-shadow: 0 2px 8px rgba(109,40,217,0.3);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--purple-700), var(--purple-800)); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(109,40,217,0.4); }

.btn-success {
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    color: white;
    box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}
.btn-success:hover { transform: translateY(-1px); }

.btn-danger {
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: white;
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}
.btn-danger:hover { transform: translateY(-1px); }

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}
.btn-secondary:hover { background: var(--gray-200); }

.btn-outline {
    background: white;
    color: var(--purple-600);
    border: 1.5px solid var(--purple-600);
}
.btn-outline:hover { background: var(--purple-50); }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 9px; font-size: 11px; border-radius: 6px; }
.btn-icon { padding: 8px; border-radius: 8px; }

/* ============ BADGES ============ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-primary { background: var(--purple-100); color: var(--purple-700); }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }
.badge-dark { background: var(--gray-800); color: white; }

/* ============ TABLE ============ */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: var(--gray-50);
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 13.5px;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover td { background: var(--purple-50); }

.table-actions { display: flex; gap: 6px; align-items: center; }

/* ============ FORMS ============ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-control {
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--gray-800);
    font-family: inherit;
    transition: var(--transition);
    background: white;
    outline: none;
}

.form-control:focus {
    border-color: var(--purple-500);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

.form-control:disabled { background: var(--gray-50); color: var(--gray-400); }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

.form-hint { font-size: 11px; color: var(--gray-400); }
.form-error { font-size: 11px; color: var(--red-600); }

/* ============ FILTER BAR ============ */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.filter-bar .form-control {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 140px;
}

/* ============ AVAILABILITY GRID ============ */
.avail-grid { overflow-x: auto; }

.avail-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.avail-table th {
    background: var(--gray-50);
    padding: 8px 6px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    white-space: nowrap;
}

.avail-table th.unit-col { text-align: left; padding-left: 14px; min-width: 140px; }
.avail-table th.today-col { background: var(--purple-100); color: var(--purple-700); }

.avail-table td {
    border: 1px solid var(--gray-200);
    padding: 4px;
    height: 42px;
    vertical-align: middle;
    position: relative;
}

.avail-table td.unit-name {
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    background: white;
    color: var(--gray-700);
    white-space: nowrap;
}

.avail-table td.available { background: white; }
.avail-table td.today-cell { background: var(--purple-50); }

.booking-block {
    position: absolute;
    top: 4px; bottom: 4px;
    left: 0; right: 0;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.booking-block:hover { filter: brightness(0.95); }

.booking-block.confirmed { background: #c7d2fe; color: #3730a3; border: 1px solid #a5b4fc; }
.booking-block.checked-in { background: #bbf7d0; color: #14532d; border: 1px solid #86efac; }
.booking-block.pending { background: #fde68a; color: #78350f; border: 1px solid #fcd34d; }
.booking-block.maintenance { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============ ALERTS ============ */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

.alert-dismissible { position: relative; padding-right: 40px; }
.alert-close {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    font-size: 18px; color: inherit; opacity: 0.6;
}
.alert-close:hover { opacity: 1; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}

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

.modal {
    background: white;
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: space-between;
}

.modal-title { font-size: 16px; font-weight: 700; color: var(--gray-900); }

.modal-close {
    background: none; border: none; cursor: pointer;
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 18px;
    transition: var(--transition);
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-700); }

.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex; gap: 10px; justify-content: flex-end;
}

/* ============ TABS ============ */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 20px; }

.tab-btn {
    padding: 10px 20px;
    border: none; background: none; cursor: pointer;
    font-size: 13.5px; font-weight: 600;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
    transition: var(--transition);
}

.tab-btn:hover { color: var(--purple-600); }
.tab-btn.active { color: var(--purple-700); border-bottom-color: var(--purple-700); }

.tab-content { display: none; }
.tab-content.active { display: block; }

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

.page-btn {
    min-width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 500; color: var(--gray-600);
    transition: var(--transition);
    padding: 0 8px;
}
.page-btn:hover { border-color: var(--purple-400); color: var(--purple-600); }
.page-btn.active { background: var(--purple-600); border-color: var(--purple-600); color: white; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ SECTION DIVIDERS ============ */
.section-divider { 
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0;
}
.section-divider span { font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* ============ DETAIL VIEW ============ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-item { }
.detail-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); margin-bottom: 4px; }
.detail-value { font-size: 14px; color: var(--gray-800); font-weight: 500; }

/* ============ TIMELINE/LOG ============ */
.activity-log { }
.log-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.log-item:last-child { border-bottom: none; }
.log-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--purple-100); display: flex; align-items: center; justify-content: center; color: var(--purple-600); font-size: 13px; flex-shrink: 0; }
.log-content { flex: 1; }
.log-text { font-size: 13px; color: var(--gray-700); }
.log-time { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

/* ============ DINING SLOT ============ */
.dining-slot-card {
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.dining-slot-card:hover { border-color: var(--purple-400); box-shadow: var(--shadow-sm); }

.slot-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.slot-time { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.slot-covers { font-size: 12px; color: var(--gray-500); }
.slot-progress { height: 6px; background: var(--gray-100); border-radius: 3px; margin-bottom: 12px; overflow: hidden; }
.slot-progress-bar { height: 100%; background: linear-gradient(90deg, var(--purple-500), var(--purple-700)); border-radius: 3px; transition: width 0.3s; }

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--gray-300); }
.empty-state h3 { font-size: 16px; color: var(--gray-600); margin-bottom: 8px; }
.empty-state p { font-size: 13px; }

/* ============ CHART AREA ============ */
.chart-container { position: relative; }

/* ============ LOGIN PAGE ============ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
}

.login-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

/*.login-logo-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    color: white;
}
*/
.logo_image{
    max-width: 110px;
}
.login-logo h1 { font-size: 22px; font-weight: 800; color: var(--gray-900); }
.login-logo p { font-size: 13px; color: var(--gray-500); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .page-content { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .form-grid-3 { grid-template-columns: 1fr; }
    .search-wrap { display: none; }
}

/* ============ UTILITY ============ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-sm { font-size: 12px; }
.text-muted { color: var(--gray-400); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ PROGRESS ============ */
.progress { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--purple-500), var(--purple-700)); border-radius: 4px; }

/* ============ COLOR PATCHES ============ */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-purple { background: var(--purple-500); }
.dot-green { background: var(--green-500); }
.dot-amber { background: var(--amber-500); }
.dot-red { background: var(--red-500); }
.dot-blue { background: var(--blue-500); }

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

/* ============ WAITLIST ============ */
.waitlist-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 8px;
    background: white;
}
.waitlist-pos {
    width: 28px; height: 28px;
    background: var(--purple-100); color: var(--purple-700);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    flex-shrink: 0;
}
