/* ============================================
   Spine License Server - Super Admin Theme
   Cyan accent overrides + admin-only components
   ============================================ */

/* ---- Cyan accent token overrides ---- */
:root {
  --accent: #22d3ee;
  --accent-hover: #06b6d4;
  --accent-glow: rgba(34, 211, 238, 0.2);
  --accent-gradient: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  --border: rgba(34, 211, 238, 0.1);
  --border-hover: rgba(34, 211, 238, 0.25);
  --border-focus: rgba(34, 211, 238, 0.5);
}

/* ---- Shared admin components ---- */
.super-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22d3ee;
  text-transform: uppercase;
}
.sidebar-logo .logo-icon {
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
}
.nav-item.active {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
}
.nav-item:hover {
  background: rgba(34, 211, 238, 0.08);
}
.nav-item.active .nav-icon {
  color: #22d3ee;
}
.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
}
.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}
.stat-card:hover {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}
.license-card::before {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
}
.license-seat-fill {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
}
.login-submit {
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
}

/* ---- Login page ---- */
.admin-login-wrap {
  min-height: 100vh;
  background: var(--bg-root);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.admin-login-wrap::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.admin-login-wrap::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.admin-card {
  background: var(--bg-card);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 60px rgba(34, 211, 238, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.6);
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22d3ee;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.admin-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.admin-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.admin-submit {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  color: #fff;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}
.admin-submit:hover {
  opacity: 0.9;
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.3);
  transform: translateY(-1px);
}
.admin-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.back-link {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.back-link a {
  color: var(--accent-cyan);
}

/* ---- Dashboard: overview section ---- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.ov-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ov-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.5;
}
.ov-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.ov-icon {
  font-size: 24px;
  margin-bottom: 10px;
}
.ov-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.ov-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
