:root {
  --bg-start: #0f172a;
  --bg-end: #111827;
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.15);
}

body {
  background: radial-gradient(circle at top right, #1e3a8a, transparent 40%),
    linear-gradient(135deg, var(--bg-start), var(--bg-end));
  color: #f8fafc;
  min-height: 100vh;
}

.card-glass {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  border-radius: 16px;
}

.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.92);
}

.form-label {
  color: #f8fafc;
  font-weight: 600;
}

.text-secondary {
  color: rgba(226, 232, 240, 0.9) !important;
}

.btn-custom {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.metric-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
}

.metric-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.metric-value {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.alert-soft {
  background: rgba(220, 38, 38, 0.2);
}

.success-soft {
  background: rgba(22, 163, 74, 0.2);
}

.table-modern {
  color: #e2e8f0;
  min-width: 1200px;
}

.table-modern thead th {
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
}

.table-modern td {
  border-color: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.table-modern tbody tr:hover {
  background: rgba(148, 163, 184, 0.15);
}

.card-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .metric-value {
    font-size: 1.35rem;
  }
}
