:root {
  --gold: #C9A84C;
  --purple: #4B0082;
  --red: #8B1A1A;
  --light: #f5f0ff;
  --panel: #1a0835;
  --panel-2: #0d0018;
  --line: #3a1a6a;
  --muted: #9a7ac0;
}
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(135deg, #0d0018 0%, #1a0035 50%, #0d0018 100%); color: var(--light); font-family: Georgia, 'Times New Roman', serif; min-height: 100vh; }
.hidden { display: none !important; }
.hero { background: linear-gradient(90deg, var(--purple) 0%, #2d0060 50%, var(--red) 100%); border-bottom: 3px solid var(--gold); padding: 32px 40px 24px; position: relative; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: .08; background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 1px, transparent 12px); }
.hero-inner { position: relative; max-width: 1500px; margin: 0 auto; }
.eyebrow { font-size: 13px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); color: #fff; letter-spacing: 1px; }
.hero p { margin: 6px 0 0; color: #c4a8e8; font-size: 15px; }
.auth-box { min-width: 260px; background: rgba(13,0,24,.52); border: 1px solid rgba(201,168,76,.35); border-radius: 12px; padding: 14px; }
.auth-status { color: #d9c8f1; font-size: 13px; margin-bottom: 10px; }
.auth-box input { width: 100%; margin-bottom: 8px; }
.setup-warning { max-width: 1000px; margin: 20px auto; padding: 16px 20px; border: 1px solid var(--gold); color: #fff; background: rgba(201,168,76,.12); border-radius: 10px; }
.stats-bar { display: flex; gap: 16px; padding: 20px 40px; flex-wrap: wrap; border-bottom: 1px solid #2a1a4a; max-width: 1580px; margin: 0 auto; }
.stat-card, .progress-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 22px; min-width: 145px; flex: 1; }
.stat-value { font-size: 30px; font-weight: bold; color: var(--gold); }.stat-max { font-size: 16px; color: #8a6aaa; }.green { color: #4af0a0; }.blue { color: #7ab3f0; }.gold { color: var(--gold); }.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }.progress-card { flex: 2; min-width: 230px; display: flex; flex-direction: column; justify-content: center; }.progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; color: var(--muted); }.progress-head strong { color: var(--gold); }.progress-track { height: 8px; background: #2a1a4a; border-radius: 4px; overflow: hidden; }.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 4px; transition: width .4s ease; }
.controls { padding: 20px 40px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; max-width: 1580px; margin: 0 auto; }
input, select, textarea { padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--light); font-family: Georgia, 'Times New Roman', serif; font-size: 14px; outline: none; }
.controls input { flex: 2; min-width: 220px; }
button { font-family: Georgia, 'Times New Roman', serif; cursor: pointer; }
.primary-button { padding: 10px 22px; border-radius: 8px; background: linear-gradient(90deg, var(--purple), var(--red)); border: 2px solid var(--gold); color: var(--gold); font-size: 14px; font-weight: bold; letter-spacing: 1px; }
.ghost-button { padding: 10px 18px; border-radius: 8px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.table-wrap { padding: 0 40px 60px; overflow-x: auto; max-width: 1580px; margin: 0 auto; }.empty-state { text-align: center; padding: 60px 20px; color: #6a4a9a; border: 1px dashed var(--line); border-radius: 12px; margin-top: 8px; }.star { font-size: 48px; margin-bottom: 12px; }.empty-title { font-size: 18px; color: var(--muted); }.empty-subtitle { font-size: 14px; margin-top: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; } th { padding: 10px 12px; text-align: left; color: var(--gold); font-weight: bold; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid var(--gold); }td { padding: 10px 12px; border-bottom: 1px solid #2a1a4a; color: #c4a8e8; vertical-align: top; }tbody tr:nth-child(even) { background: #0f0022; }.row-num { color: #6a4a9a; font-weight: bold; }.name-cell { color: #fff; font-weight: bold; white-space: nowrap; }.email-cell { color: #7ab3f0; font-size: 12px; }.compact { max-width: 220px; }.status-select { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: bold; }.action-button { margin-right: 6px; padding: 4px 10px; border-radius: 5px; background: transparent; font-size: 11px; }.edit-button { border: 1px solid var(--gold); color: var(--gold); }.remove-button { border: 1px solid var(--red); color: #e05050; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }.modal-card { background: var(--panel); border: 2px solid var(--gold); border-radius: 14px; padding: 28px; width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto; }.modal-card h2 { margin: 0 0 20px; color: var(--gold); font-size: 22px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.form-grid label { display: flex; flex-direction: column; gap: 5px; color: var(--gold); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }.form-grid .full { grid-column: 1 / -1; }.form-grid input, .form-grid textarea, .form-grid select { width: 100%; background: var(--panel-2); }.modal-actions { display: flex; gap: 12px; margin-top: 22px; }
.toast { position: fixed; bottom: 18px; right: 18px; background: #1a0835; border: 1px solid var(--gold); color: #fff; border-radius: 8px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: 360px; }
@media (max-width: 760px) { .hero, .stats-bar, .controls, .table-wrap { padding-left: 18px; padding-right: 18px; } .form-grid { grid-template-columns: 1fr; } .modal-actions { flex-direction: column; } }
