/* HELP CRM – Brand overrides to match higheredlicensurepros.com */

/* 1) Font: use Poppins to match marketing site body font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* 2) Bootstrap theme variables */
:root {
  /* Typography */
  --bs-body-font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-bg: #ffffff;
  --bs-body-color: #23282f;
  --site-navigation-font-font-size-value: 1.25;

  /* Primary brand blue from marketing site buttons (#1470ac) */
  --bs-primary: #1470ac;
  --bs-primary-rgb: 20, 112, 172;

  /* Links */
  --bs-link-color: #1470ac;
  --bs-link-hover-color: #0f5a89;

  /* Borders / focus ring */
  --bs-border-color: #e0e4ea;
  --bs-focus-ring-color: rgba(20, 112, 172, 0.35);
}

/* 3) Global text + headings */

body {
  font-family: var(--bs-body-font-family);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

/* 4) Primary buttons – align with marketing site’s blue CTAs */

.btn-primary,
.btn.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
  background-color: #0f5a89;
  border-color: #0f5a89;
  color: #ffffff;
}

/* Outline buttons */

.btn-outline-primary,
.btn.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:active:focus {
  color: #ffffff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* 5) Links */

a {
  color: var(--bs-link-color);
}

a:hover,
a:focus {
  color: var(--bs-link-hover-color);
}

/* 6) Focus styles (keep accessible) */

.btn:focus-visible,
a.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--bs-focus-ring-color);
  outline-offset: 2px;
}

/* 7) App header styling */

/* Full-width blue header bar */
header.border-bottom.bg-white.shadow-sm.sticky-top {
  background-color: var(--bs-primary) !important;
  border-bottom: none !important;
}

/* App name / brand link inside the header */
header.border-bottom.bg-white.shadow-sm.sticky-top a.text-decoration-none.fw-bold.fs-5 {
  color: #ffffff !important;
}

/* Hover/focus state for brand link */
header.border-bottom.bg-white.shadow-sm.sticky-top a.text-decoration-none.fw-bold.fs-5:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top a.text-decoration-none.fw-bold.fs-5:focus {
  color: #e0f2ff !important; /* lighter blue for hover */
}

/* Top nav links in the header */
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link {
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  font-size: calc((var(--site-navigation-font-font-size-value, 1.25) - 1) * 1.2vw + 1rem);
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link:focus {
  color: #ffcf49 !important;
  text-decoration: none;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link:focus-visible {
  outline: 2px solid #ffcf49;
  outline-offset: 2px;
}

header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link:focus,
header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link:focus-visible,
header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link::-moz-focus-inner {
  outline: 2px solid #0f5a89 !important;
  box-shadow: none !important;
  outline-offset: 0 !important;
  border: none !important;
  border-radius: 0;
}

header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link:-moz-focusring {
  outline: 2px solid #0f5a89 !important;
  box-shadow: none !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu details {
  margin: 0;
  display: inline-block;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu details summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: calc((var(--site-navigation-font-font-size-value, 1.25) - 1) * 1.2vw + 1rem);
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu details summary .small.text-muted {
  color: #ffffff !important;
  font-size: 1rem;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .mt-2 {
  margin-top: 0 !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .ps-3 {
  padding-left: 0 !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .border-start {
  border-left: 0 !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout {
  border-color: #ffffff;
  color: #ffffff;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout:focus {
  color: #1470ac;
  background-color: #ffcf49;
  border-color: #ffcf49;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout:focus-visible {
  outline: 2px solid #ffcf49;
  outline-offset: 2px;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-account {
  font-size: 0.85rem;
  line-height: 1.2;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-account-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-account-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Mobile menu icon color */
header.border-bottom.bg-white.shadow-sm.sticky-top .bi-list {
  color: #ffffff !important;
}

/* 8) Make header taller */

header.border-bottom.bg-white.shadow-sm.sticky-top .container-fluid {
  min-height: 120px;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* 9) Auth layout – blue login card like the header */

body.auth-layout .card {
  background-color: var(--bs-primary);
  color: #ffffff;
}

/* Card title / small text inside the card */
body.auth-layout .card .text-muted,
body.auth-layout .card h1,
body.auth-layout .card p {
  color: #e0f2ff !important;
}

/* Form labels */
body.auth-layout .card .form-label {
  color: #ffffff;
}

/* Inputs stay white for readability */
body.auth-layout .card .form-control,
body.auth-layout .card .form-check-input {
  background-color: #ffffff;
  color: #23282f;
  border-color: #e0e4ea;
}

/* Ensure checkboxes show a visible checked state in the auth layout */
body.auth-layout .card .form-check-input:checked {
  background-color: #ffcf49;
  border-color: #ffcf49;
}

/* "Forgot your password?" / "Unlock your account" links under the card */
body.auth-layout .link-secondary {
  color: var(--bs-primary);
}

body.auth-layout .link-secondary:hover,
body.auth-layout .link-secondary:focus {
  color: #0f5a89;
}

/* 10) Auth layout – yellow primary button with white text and white aux text */

body.auth-layout .btn-primary {
  background-color: #ffcf49 !important;
  border-color: #ffcf49 !important;
  color: #0f5a89 !important;
}

body.auth-layout .btn-primary:hover,
body.auth-layout .btn-primary:focus,
body.auth-layout .btn-primary:active,
body.auth-layout .btn-primary:active:focus {
  background-color: #f0b52e !important;
  border-color: #f0b52e !important;
  color: #ffffff !important;
}

/* "Remember me" label */
body.auth-layout .form-check-label {
  color: #ffffff !important;
}

/* "Forgot your password?" and "Unlock your account" links under the card */
body.auth-layout .mt-4.text-center a,
body.auth-layout .link-secondary {
  color: #ffffff !important;
  text-decoration: none !important;
}

body.auth-layout .mt-4.text-center a:hover,
body.auth-layout .mt-4.text-center a:focus,
body.auth-layout .link-secondary:hover,
body.auth-layout .link-secondary:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* 11) Member filters card – tighten typography slightly */

.filters-card .card-body {
  font-size: 0.85rem;
}

/* 12) Settings Hub menu – remove Bootstrap active highlight */

.settings-hub-menu .list-group-item.active,
.settings-hub-menu .list-group-item.active:hover,
.settings-hub-menu .list-group-item.active:focus {
  background-color: transparent;
  color: var(--bs-body-color);
  border-color: #e0e4ea;
  font-weight: 600;
}

/* 1) Header logo size */

header.border-bottom.bg-white.shadow-sm.sticky-top .app-logo {
  height: 180px;
  width: auto;
  display: block;
}
