:root {
  color-scheme: dark;
}

body {
  background: #171a1f;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

.glass {
  background: #1a1d22;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
}

.glow {
  position: relative;
}

.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.grid-dots {
  background: none;
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
}

.badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar {
  background: #15181d;
}

.admin-theme .sidebar {
  border-right-color: rgba(230, 0, 55, 0.35);
  box-shadow: inset -1px 0 0 rgba(230, 0, 55, 0.1);
}

.admin-theme .glass {
  border-color: rgba(230, 0, 55, 0.14);
}

.chart-bar {
  background: #3b82f6;
}

.chart-bar-alt {
  background: #6366f1;
}

.pulse-dot {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Lighter borders only for admin + promo screens */
.dashboard-shell.soft-border-theme .glow::after {
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.dashboard-shell.soft-border-theme .glass,
.dashboard-shell.soft-border-theme .badge,
.dashboard-shell.soft-border-theme .sidebar,
.dashboard-shell.soft-border-theme table,
.dashboard-shell.soft-border-theme th,
.dashboard-shell.soft-border-theme td,
.dashboard-shell.soft-border-theme input,
.dashboard-shell.soft-border-theme select,
.dashboard-shell.soft-border-theme textarea,
.dashboard-shell.soft-border-theme button,
.dashboard-shell.soft-border-theme [class~="border"],
.dashboard-shell.soft-border-theme [class*="border-"] {
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(255, 255, 255, 0.03) !important;
}
