:root {
    --primary: #d4af37;
    --primary-hover: #b89528;
    --bg-dark: #0f0f11;
    --bg-card: #1a1a1e;
    --bg-light: #242429;
    --text-light: #f4f4f4;
    --text-muted: #a0a0a0;
    --accent-green: #2ecc71;
    --accent-red: #e74c3c;
    --border: #2e2e35;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; }

/* Global Nav */
header { background: rgba(15, 15, 17, 0.95); position: fixed; top: 0; width: 100%; z-index: 1000; border-bottom: 1px solid var(--border); }
.nav-box { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.logo-placeholder { border: 2px dashed var(--primary); padding: 6px 14px; border-radius: 6px; color: var(--primary); font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; }
nav ul { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
nav ul li a { color: var(--text-light); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
nav ul li a:hover, nav ul li a.active { color: var(--primary); }

.btn { padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; display: inline-block; transition: 0.3s; }
.btn-gold { background: var(--primary); color: #000; }
.btn-gold:hover { background: var(--primary-hover); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #000; }

/* Dashboard Layout */
.dashboard-layout { display: flex; min-height: 100vh; padding-top: 70px; }
.sidebar { width: 260px; background: var(--bg-card); border-right: 1px solid var(--border); padding: 2rem 1rem; }
.sidebar h3 { color: var(--primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; padding-left: 0.5rem; }
.sidebar ul { list-style: none; }
.sidebar ul li a { display: flex; align-items: center; gap: 12px; padding: 0.8rem 1rem; color: var(--text-muted); text-decoration: none; border-radius: 6px; font-weight: 500; margin-bottom: 0.3rem; transition: 0.3s; }
.sidebar ul li a:hover, .sidebar ul li a.active { background: var(--bg-light); color: var(--primary); }

.main-content { flex: 1; padding: 2rem; background: var(--bg-dark); }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.8rem; font-weight: 700; }

/* Metric Cards */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.metric-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; display: flex; align-items: center; gap: 1.2rem; }
.metric-icon { width: 50px; height: 50px; border-radius: 10px; background: rgba(212, 175, 55, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.metric-info h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.metric-info .value { font-size: 1.6rem; font-weight: 700; color: var(--text-light); margin-top: 4px; }

/* Table Styling */
.table-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; margin-bottom: 2rem; }
.table-card header { background: transparent; position: relative; border: none; padding: 0 0 1rem 0; display: flex; justify-content: space-between; align-items: center; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 1rem; }
.data-table th, .data-table td { padding: 1rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.data-table th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; }
.badge { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.badge-confirmed { background: rgba(46, 204, 113, 0.15); color: var(--accent-green); }
.badge-pending { background: rgba(212, 175, 55, 0.15); color: var(--primary); }

@media (max-width: 900px) {
    .dashboard-layout { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
}
