/* modern-overrides.css */
:root,
[data-bs-theme="light"] {
  --bs-primary: #3b82f6;
  --bs-primary-rgb: 59, 130, 246;

  --bs-body-bg: #f8fafc;
  --bs-body-bg-rgb: 248, 250, 252;
  --bs-body-color: #475569;
  --bs-body-color-rgb: 71, 85, 105;

  --bs-heading-color: #0f172a;
  --bs-emphasis-color: #0f172a;
  --bs-emphasis-color-rgb: 15, 23, 42;

  --bs-border-color: #e2e8f0;
  --bs-border-color-translucent: rgba(148, 163, 184, 0.2);

  --bs-border-radius: 0.75rem;
  --bs-border-radius-sm: 0.625rem;
  --bs-border-radius-lg: 0.9rem;
  --bs-border-radius-xl: 1.1rem;

  --bs-box-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --bs-box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --bs-box-shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.12);

  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
}
body {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--bs-body-color);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--bs-heading-color);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.card-header,
.card-footer {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.85);
}

.btn {
  border-radius: 0.8rem;
  font-weight: 600;
  box-shadow: none;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  --bs-btn-bg: #2563eb;
  --bs-btn-border-color: #2563eb;
  --bs-btn-hover-bg: #1d4ed8;
  --bs-btn-hover-border-color: #1d4ed8;
  --bs-btn-active-bg: #1e40af;
  --bs-btn-active-border-color: #1e40af;
  --bs-btn-color: #fff;
}

.btn-outline-secondary {
  --bs-btn-color: #334155;
  --bs-btn-border-color: #cbd5e1;
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-color: #0f172a;
  --bs-btn-hover-border-color: #94a3b8;
}

.form-control,
.form-select,
.input-group-text {
  min-height: 44px;
  border-radius: 0.8rem;
  border-color: #dbe3ee;
  background-color: #fff;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-label {
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: #f8fafc;
  --bs-table-hover-bg: #eff6ff;
  border-color: #e2e8f0;
}

.table > :not(caption) > * > * {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  background: #f8fafc;
}

.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.dropdown-menu {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 0.65rem;
}

.dropdown-item:hover {
  background: #f1f5f9;
}
