:root {
  --gold: #d4af37;
  --gold-soft: #f5e6b8;
  --bg-dark: #0b0704;
  --panel: #1a1206;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
}

.card {
  background: linear-gradient(180deg, #1c1408 0%, #150e04 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.gold-text {
  color: var(--gold);
}

.btn-gold {
  background: linear-gradient(180deg, #e9c860, #b9932c);
  color: #1a1206;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-gold:active {
  transform: translateY(0);
}

.input-dark {
  background: #120d02;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  border-radius: 8px;
}

.input-dark:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-standard { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }
.badge-premium { background: rgba(212, 175, 55, 0.22); color: var(--gold); }
.badge-admin { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.badge-active { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.badge-revoked { background: rgba(148, 163, 184, 0.18); color: #cbd5e1; }
.badge-unused { background: rgba(148, 163, 184, 0.12); color: #94a3b8; }

table.licenses-table th {
  color: #d8c99b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

table.licenses-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.code-reveal {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.35); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

.btn-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #d8c99b;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.15s ease;
}

.btn-tab:hover {
  background: rgba(212, 175, 55, 0.08);
}

.btn-tab.active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.5);
}

.tab-content.hidden {
  display: none;
}
