/* =========================================================
   User-facing page styles
   Dashboard summary stats, profile cards, access tables
   ========================================================= */

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.75rem 0 1.25rem 0;
}

@media (max-width: 900px) {
  .dashboard-summary {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  text-align: center;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 750;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 0.35rem;
}

/* Accent colours */
.stat-expired .stat-number { color: #ff5a5a; }
.stat-unknown .stat-number { color: #ffb020; }
.stat-unreviewed .stat-number { color: #5aa7ff; }

.notes-cell {
  max-width: 320px;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--text-3);
  font-size: 0.9rem;
}


#attention-banner {
  margin-bottom: .75rem;
}

#attention-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

#attention-banner .banner-text {
  min-width: 0;
}

#attention-banner .banner-action {
  flex: 0 0 auto;
}

#attention-banner .banner-action .btn {
  white-space: nowrap;
}

@media (max-width: 900px) {
  #attention-banner .banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  #attention-banner .banner-action .btn {
    width: 100%;
  }
}
