:root {
  --bg-main: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-elevated-soft: #eff6ff;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-strong: #1d4ed8;
  --text-main: #020617;
  --text-muted: #64748b;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --danger: #ef4444;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

a {
  color: var(--accent-strong);
}

a:hover {
  color: #93c5fd;
}

.navbar {
  background: linear-gradient(to right, #1d4ed8, #2563eb);
  border-bottom: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e5efff !important;
}

.nav-link {
  font-weight: 500;
  color: rgba(226, 232, 240, 0.8) !important;
}

.nav-link.active,
.nav-link:hover {
  color: #ffffff !important;
}

/* Main layout */

.main-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

/* Hero / page header */

.page-hero {
  text-align: center;
  margin-bottom: 2.25rem;
}

.page-hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 0.6rem;
}

.page-hero-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* Card-like wrapper for main content */

.surface-card {
  background: var(--bg-elevated);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 2rem 1.75rem;
}

@media (min-width: 768px) {
  .surface-card {
    padding: 2.5rem 2.3rem;
  }
}

/* Forms */

.form-label {
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  background-color: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.8rem 1rem;
}

.form-control:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.25);
  background-color: #ffffff;
  color: var(--text-main);
}

.form-control::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

/* Buttons */

.btn-primary {
  border-radius: 999px;
  font-weight: 600;
  padding-inline: 1.8rem;
  padding-block: 0.75rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #1d4ed8, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.7);
}

.btn-outline-light {
  border-radius: 999px;
  border-color: rgba(148, 163, 184, 0.65);
  color: var(--text-main);
}

.btn-outline-light:hover {
  background-color: rgba(148, 163, 184, 0.15);
}

.table-wrapper {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
  overflow: hidden;
}

.table {
  margin-bottom: 0;
  color: var(--text-main);
}

.table thead {
  background: linear-gradient(to right, #e0ecff, #dbeafe);
}

.table thead th {
  border-bottom: 0;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  background: transparent !important;
}

.table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.table tbody tr:hover {
  background-color: rgba(191, 219, 254, 0.45);
}

.table td,
.table th {
  border-color: rgba(148, 163, 184, 0.5);
}

.table a {
  text-decoration: none;
  font-weight: 500;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer span {
  color: var(--accent-strong);
}

/* Misc */

.badge-soft {
  background-color: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.text-muted-soft {
  color: rgba(148, 163, 184, 0.75) !important;
}
