:root {
    --admin-dark: #050b18;
  --admin-navy: #163c7a;
  --admin-blue: #1f6feb;
  --admin-blue-hover: #1757b7;
  --admin-red: #ff3b3b;
  --admin-red-hover: #c62828;
  --admin-cyan: #60d8ff;
  --admin-gold: #ffe45c;
  --admin-text: #182033;
  --admin-muted: #64748b;
  --admin-panel: rgba(255, 255, 255, 0.96);
  --admin-border: rgba(255, 255, 255, 0.45);
  --admin-success: #138a4b;
  --admin-error: #c62828;
}

.admin-menu-header {
  max-width: 1300px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(255, 59, 59, 0.3), transparent 35%),
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.45), transparent 35%),
    linear-gradient(145deg, #07152e, #102f5f);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.admin-menu-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.admin-menu-header p {
  margin: 0.4rem 0 0;
  color: #dceaff;
  font-weight: 700;
}

.admin-menu-wrapper {
  max-width: 1300px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.3rem;
}

.admin-menu-card {
  min-height: 210px;
  padding: 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  color: white;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.15), transparent 45%),
    linear-gradient(145deg, #07152e, #102f5f);
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-menu-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 55px rgba(0,0,0,0.35),
    0 0 30px rgba(31,111,235,0.35);
}

.admin-menu-card span {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.admin-menu-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.admin-menu-card p {
  margin: 0;
  color: #dceaff;
  line-height: 1.5;
}

.admin-menu-card:hover{
  border-color: rgba(255, 228, 92, 0.8);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.28),
    0 0 28px rgba(255, 228, 92, 0.25);
}

.back-btn {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: white;
  font-weight: 800;
  cursor: pointer;

  transition: all 0.2s ease;
}

.back-btn:hover {
  background: #1f6feb;
  transform: translateY(-2px);
}

.logout-btn {
  color: white !important;
  text-decoration: none;
  background:
    linear-gradient(
      145deg,
      var(--admin-red),
      var(--admin-red-hover)
    );
}

.back-btn:hover,
.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 700px) {
  .admin-menu-header {
    flex-direction: column;
    text-align: center;
  }

  .admin-menu-card {
    min-height: 170px;
  }
}