@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-primary: #0f4c81;
  --brand-secondary: #f59e0b;
  --brand-surface: #f6f7fb;
  --brand-text: #0b1c2c;
}

* {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(15, 76, 129, 0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.1), transparent 25%),
              var(--brand-surface);
  color: var(--brand-text);
}

.brand-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(15, 76, 129, 0.12);
  border: 1px solid rgba(15, 76, 129, 0.06);
}

.brand-btn {
  background: linear-gradient(135deg, var(--brand-primary), #0b3359);
  color: #fff;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.brand-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.25);
}

.brand-btn-secondary {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid rgba(15, 76, 129, 0.18);
}

.nav-link-active {
  background: linear-gradient(90deg, rgba(15, 76, 129, 0.12), transparent);
  color: var(--brand-primary);
  font-weight: 700;
}

.badge-soft {
  background: rgba(15, 76, 129, 0.08);
  color: var(--brand-primary);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  #sidebarToggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 40;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 30;
    display: none;
  }

  .sidebar-backdrop.visible {
    display: block;
  }

  #sidebarToggle:checked ~ .app-shell #sidebar {
    transform: translateX(0);
  }

  #sidebarToggle:checked ~ .app-shell #sidebarBackdrop {
    display: block;
  }

  #sidebarToggle:checked ~ .app-shell {
    overflow: hidden;
  }
}