/* ==========================
   DASHBOARD THEME
   ========================== */

.dashboard {
  background: var(--bg);
  min-height: 100vh;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

/* HEADER */
.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.dashboard-header h2 {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.dashboard-header .subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

/* GRID LAYOUT */
.card-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

/* CARD STYLES */
.card-tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 240px;
  text-align: center;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.card-tile.disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* ICON WRAPPER */
.icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.icon-wrap.employee {
  background: var(--brand);
}

.icon-wrap.manager {
  background: #f59e0b; /* amber tone */
}

.icon-wrap.admin {
  background: #9ca3af; /* gray tone */
}

.card-tile h4 {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.card-tile p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* MOBILE */
@media (max-width: 600px) {
  .card-tile {
    width: 100%;
  }
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
