@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ui-bg: #f4f7fc;
  --ui-surface: #ffffff;
  --ui-surface-soft: #f8faff;
  --ui-text: #1f2a44;
  --ui-muted: #5f6f92;
  --ui-primary: #2f6df6;
  --ui-primary-strong: #1d4ed8;
  --ui-border: #dde6fb;
  --ui-shadow: 0 10px 32px rgba(33, 70, 160, 0.12);
}

html,
body {
  background: radial-gradient(circle at 15% 0%, #eef4ff 0%, var(--ui-bg) 38%, #f7faff 100%) !important;
  color: var(--ui-text) !important;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.card-title {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  letter-spacing: 0.01em;
}

.top-bar {
  background: linear-gradient(135deg, #133170 0%, #1f4fb1 100%) !important;
}

.navbar.bg-primary {
  background: linear-gradient(135deg, #1e429f 0%, #2f6df6 100%) !important;
  border: 0 !important;
  box-shadow: 0 6px 24px rgba(19, 49, 112, 0.24);
}

.navbar .nav-link,
.navbar .dropdown-toggle {
  color: #eef4ff !important;
  font-weight: 600 !important;
  border-radius: 10px;
  padding: 0.5rem 0.75rem !important;
}

.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.dropdown-menu {
  background: var(--ui-surface) !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--ui-shadow) !important;
  padding: 0.5rem !important;
}

.dropdown-item {
  color: var(--ui-text) !important;
  border-radius: 10px !important;
}

.dropdown-item:hover {
  background: #edf3ff !important;
  color: #163a8a !important;
}

.container > main,
.modal-content,
.offcanvas,
.list-group-item {
  background: var(--ui-surface) !important;
  color: var(--ui-text) !important;
}

.card {
  background: var(--ui-surface);
  color: var(--ui-text) !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--ui-shadow) !important;
}

.card-header:not(.glass-effect) {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%) !important;
  color: var(--ui-text) !important;
  border-bottom: 1px solid var(--ui-border) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ui-primary) 0%, var(--ui-primary-strong) 100%) !important;
  border: 0 !important;
  color: #fff !important;
}

.btn-secondary {
  background: #eef3ff !important;
  color: #26468b !important;
  border: 1px solid #d4e0fb !important;
}

.btn-danger {
  background: linear-gradient(135deg, #e5396a 0%, #c61a50 100%) !important;
  border: 0 !important;
  color: #fff !important;
}

.form-control,
.form-select,
select,
input,
textarea {
  background: #ffffff !important;
  color: var(--ui-text) !important;
  border: 1px solid #cfdbf7 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
select:focus,
input:focus,
textarea:focus {
  border-color: var(--ui-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(47, 109, 246, 0.16) !important;
}

.form-label,
.text-muted {
  color: var(--ui-muted) !important;
}

.table {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(33, 70, 160, 0.1) !important;
}

.table thead th,
html body .table thead th {
  background: linear-gradient(135deg, #2a57b0 0%, #3c7dff 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
}

.table tbody tr:hover td {
  background: #f4f8ff !important;
}

footer.footer {
  background: #ffffff !important;
  border-top: 1px solid var(--ui-border) !important;
}

.mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top: 1px solid #d8e2f8 !important;
}

.mobile-bottom-nav .nav-link {
  color: #35518e !important;
}

.mobile-bottom-nav .nav-link.active,
.mobile-bottom-nav .nav-link:hover {
  background: #edf3ff !important;
  color: #1f4fb1 !important;
}
