/* RSU CertVerify — restrained navy / white / teal theme.
   The approved transparent logo lives in the navbar (`.navbar-logo`,
   see templates/base.html) — it previously sat in the homepage hero but
   was moved to the navbar so it appears on every page. It renders
   directly against the navy navbar (no backing panel) using a
   dark-background variant (static/img/certverify-logo-dark-bg.png,
   generated by scripts/generate_navbar_logo_variant.py) — the original
   logo's dark lettering is recolored to white in that variant only; the
   shield, checkmark, blue wordmark, and the original file itself are
   untouched. */

:root {
  --rsu-navy: #0b2545;
  --rsu-navy-dark: #081b33;
  --rsu-teal: #0f766e;
  --rsu-teal-light: #14b8a6;
  --rsu-paper: #f7f9fb;
  --rsu-border: #dde3ea;
}

body {
  background-color: var(--rsu-paper);
  color: #1b1f24;
}

.navbar-rsu {
  background-color: var(--rsu-navy);
}

.navbar-rsu .navbar-brand,
.navbar-rsu .nav-link {
  color: #ffffff;
}

.navbar-rsu .nav-link:hover,
.navbar-rsu .nav-link:focus {
  color: var(--rsu-teal-light);
}

.navbar-brand-logo {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
}

.navbar-logo {
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
}

/* Matches navbar-expand-lg's own collapse breakpoint, so the logo steps
   down to its mobile size exactly when the nav links collapse behind the
   toggler — kept well clear of both the toggler button and, once
   expanded, the collapsed menu below it. */
@media (max-width: 991.98px) {
  .navbar-logo {
    width: 140px;
  }
}

.hero-rsu {
  background: linear-gradient(135deg, var(--rsu-navy) 0%, var(--rsu-navy-dark) 100%);
  color: #fff;
  padding: 3.5rem 0 4.5rem;
}

.hero-rsu p.lead {
  color: #cfd9e6;
}

.btn-teal {
  background-color: var(--rsu-teal);
  border-color: var(--rsu-teal);
  color: #fff;
}

.btn-teal:hover,
.btn-teal:focus {
  background-color: var(--rsu-teal-light);
  border-color: var(--rsu-teal-light);
  color: #fff;
}

.verify-card {
  border: 1px solid var(--rsu-border);
  border-radius: 0.75rem;
  background: #fff;
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.verify-card:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(11, 37, 69, 0.08);
  transform: translateY(-2px);
}

.verify-card .icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  background: rgba(15, 118, 110, 0.1);
  color: var(--rsu-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

footer.site-footer {
  background-color: var(--rsu-navy-dark);
  color: #cfd9e6;
}

footer.site-footer a {
  color: #fff;
}

.result-panel {
  border-left: 4px solid var(--rsu-teal);
  background: #fff;
}

.result-panel.result-error {
  border-left-color: #b42318;
}

.skip-link:focus {
  position: static;
  display: inline-block;
}
