/* ==========================================================================
   Rally ATL Admin Dashboard Landing Page Stylesheet (admin-home.css)
   ========================================================================== */

/* ── 1. MENU GRID & NAVIGATION CARDS ───────────────────────────────────── */
.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.menu-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 155, 155, 0.464);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: all 0.4s ease;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.menu-card:hover {
  box-shadow: 0 0 10px rgba(59, 130, 246, 1);
}

/* Card Accent Gradients & Hover States */
.card-report::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.card-report:hover {
  box-shadow: 0 0 10px rgba(139, 92, 246, 1);
}

.card-export::before {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.card-export:hover {
  box-shadow: 0 0 10px rgba(13, 148, 136, 1);
}

/* Card Icons & Content */
.card-icon-wrapper {
  font-size: 32px;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f1f5f9;
  transition: transform 0.3s ease;
}

.card-report .card-icon-wrapper {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.menu-card:hover .card-icon-wrapper {
  transform: scale(1.1);
}

.card-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

#adminUserBadge {
  display: flex;
  gap: 6px;
}

/* ── 3. RESPONSIVE MEDIA QUERIES ───────────────────────────────────────── */
@media (max-width: 768px) {
  .admin-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .menu-card {
    padding: 16px;
    gap: 10px;
  }

  .card-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .card-content h2 {
    font-size: 16px;
    gap: 6px;
  }

  .card-content p {
    display: none;
  }
}