/* Basis */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7fa;
  color: #1e1e1e;
}

.dashboard-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 40px;
}

/* Header */

.dashboard-header {
  margin-bottom: 40px;
}

.dashboard-header h1 {
  font-size: 32px;
  margin: 0;
}

.dashboard-header p {
  margin-top: 6px;
  color: #666;
}

/* Status */

.dashboard-status {
  margin-bottom: 40px;
}

.status-card.large {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  max-width: 500px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-top: 12px;
}

.status-indicator .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-indicator.neutral .dot {
  background: #bbb;
}

.status-indicator.success .dot {
  background: #2ecc71;
}

.status-indicator.warning .dot {
  background: #f1c40f;
}

.status-indicator.error .dot {
  background: #e74c3c;
}

.status-sub {
  margin-top: 8px;
  font-size: 14px;
  color: #777;
}

/* Sections */

.dashboard-section {
  margin-bottom: 60px;
}

.dashboard-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e6e6e6;
}

/* Filter */

.filter-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-row select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}

/* Metric Grid */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.metric-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.15s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
}

.metric-card h3 {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
}

.metric-card p {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

/* Status Card Special */

.status-card {
  border-left: 6px solid #bbb;
}

.status-card.success {
  border-left-color: #2ecc71;
}

.status-card.warning {
  border-left-color: #f1c40f;
}

.status-card.error {
  border-left-color: #e74c3c;
}
