:root {
  --bg: #f1f5f9;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --blue: #2563eb;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(13, 148, 136, 0.1), transparent 30%),
    var(--bg);
}

.page-shell {
  max-width: 1500px;
  margin: 0 auto;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  text-align: left;
}

.menu-link:hover {
  background: rgba(148, 163, 184, 0.16);
  color: #ffffff;
}

.menu-link.active {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.menu-link.admin-link {
  color: #fca5a5;
}

.menu-link.admin-link:hover {
  background: rgba(220, 38, 38, 0.16);
  color: #fee2e2;
}

.menu-link.active-admin {
  background: rgba(220, 38, 38, 0.2);
  color: #fee2e2;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.live-indicator {
  animation: pulse 2s ease-in-out infinite;
}

.card-raise {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-raise:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px -25px rgba(15, 23, 42, 0.9);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #f8fafc;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@media (max-width: 767px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0 !important;
    padding-top: 3.5rem;
  }
}
