/* =================================================_ */
/* MODERN MINIMALIST SAAS 2026 - DASHBOARD CSS       */
/* =================================================_ */

.dash-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  animation: dashFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dashFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================================_ */
/* 1. STATISTIC CARDS GRID                           */
/* =================================================_ */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.dash-stat-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dash-stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-accent, #2563eb);
}

/* Stat Icons */
.dash-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-icon i {
  width: 24px;
  height: 24px;
}

/* Variant Warna Icon ala SaaS 2026 */
.dash-bg-primary {
  background-color: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.dash-bg-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.dash-bg-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.dash-bg-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Stat Text Info */
.dash-stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted, #64748b);
  letter-spacing: -0.1px;
}

.dash-stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color, #0f172a);
  letter-spacing: -0.5px;
}

/* =================================================_ */
/* 2. DASHBOARD SECTION & CARD TABLE                 */
/* =================================================_ */
.dash-section.dash-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.dash-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color, #f1f5f9);
}

.dash-card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color, #0f172a);
  letter-spacing: -0.2px;
}

.dash-btn-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-accent, #2563eb);
  text-decoration: none;
  transition: opacity 0.2s;
}

.dash-btn-text:hover {
  opacity: 0.8;
  text-decoration: underline;
}

