:root {
  --pmb-navy: #082f4a;
  --pmb-navy-2: #0c3f61;
  --pmb-blue: #0b67ad;
  --pmb-blue-2: #1684d4;
  --pmb-teal: #0e9a83;
  --pmb-green: #168c4b;
  --pmb-yellow: #f2b705;
  --pmb-red: #c93737;
  --pmb-ink: #132f45;
  --pmb-muted: #617487;
  --pmb-bg: #f3f7fa;
  --pmb-surface: #ffffff;
  --pmb-line: #dce6ed;
  --pmb-blue-soft: #eaf5fd;
  --pmb-green-soft: #eaf8f1;
  --pmb-yellow-soft: #fff8df;
  --pmb-red-soft: #fff0f0;
  --pmb-radius: 1.15rem;
  --pmb-radius-sm: .82rem;
  --pmb-shadow: 0 16px 45px rgba(10, 53, 82, .09);
  --pmb-shadow-sm: 0 8px 24px rgba(10, 53, 82, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pmb-ink);
  background:
    radial-gradient(circle at 2% 0%, rgba(22, 132, 212, .07), transparent 28rem),
    radial-gradient(circle at 100% 18%, rgba(14, 154, 131, .06), transparent 26rem),
    var(--pmb-bg);
  -webkit-font-smoothing: antialiased;
}
::selection { color: #fff; background: var(--pmb-blue); }
a { color: var(--pmb-blue); text-underline-offset: 3px; }
a:hover { color: var(--pmb-navy); }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  color: #fff;
  background: var(--pmb-navy);
  border-radius: .6rem;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Navigation and branding */
.public-navbar {
  min-height: 76px;
  padding: .65rem 0;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(220, 230, 237, .85);
  box-shadow: 0 8px 30px rgba(8, 47, 74, .05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.navbar-brand { min-width: 0; }
.navbar-brand img {
  width: 44px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(8, 47, 74, .14));
}
.brand-title {
  max-width: 280px;
  overflow: hidden;
  color: var(--pmb-navy);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-subtitle {
  display: block;
  margin-top: .18rem;
  color: var(--pmb-muted);
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: .13em;
}
.public-navbar .nav-link {
  position: relative;
  padding: .6rem .8rem !important;
  color: #3c566a;
  font-size: .9rem;
  font-weight: 650;
}
.public-navbar .nav-link:hover { color: var(--pmb-blue); }
.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: .55rem;
  border-color: var(--pmb-line);
  border-radius: .78rem;
  box-shadow: none !important;
}

/* Buttons */
.btn {
  min-height: 44px;
  padding: .62rem 1.05rem;
  border-radius: .78rem;
  font-size: .9rem;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 34px; padding: .4rem .72rem; border-radius: .62rem; font-size: .78rem; }
.btn-lg { min-height: 52px; padding: .78rem 1.35rem; border-radius: .92rem; }
.btn-primary {
  --bs-btn-bg: var(--pmb-blue);
  --bs-btn-border-color: var(--pmb-blue);
  --bs-btn-hover-bg: var(--pmb-navy-2);
  --bs-btn-hover-border-color: var(--pmb-navy-2);
  --bs-btn-active-bg: var(--pmb-navy);
  box-shadow: 0 8px 20px rgba(11, 103, 173, .2);
}
.btn-success {
  --bs-btn-bg: var(--pmb-green);
  --bs-btn-border-color: var(--pmb-green);
  --bs-btn-hover-bg: #0f743d;
  --bs-btn-hover-border-color: #0f743d;
  box-shadow: 0 8px 20px rgba(22, 140, 75, .18);
}
.btn-outline-primary { --bs-btn-color: var(--pmb-blue); --bs-btn-border-color: #91bddc; }
.btn-outline-secondary { --bs-btn-color: #50677a; --bs-btn-border-color: #bac9d4; }

/* Shared typography and surfaces */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--pmb-teal);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 19px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}
.section-space { padding: 5rem 0; }
.section-title {
  color: var(--pmb-navy);
  font-weight: 850;
  letter-spacing: -.035em;
}
.section-lead { max-width: 680px; color: var(--pmb-muted); font-size: 1.03rem; }
.page-section { padding: 3.5rem 0 5rem; }
.page-intro { max-width: 760px; margin-bottom: 1.8rem; }
.page-intro h1 { margin: .45rem 0 .7rem; color: var(--pmb-navy); font-weight: 850; letter-spacing: -.035em; }
.card {
  border: 1px solid rgba(214, 227, 236, .88);
  border-radius: var(--pmb-radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--pmb-shadow-sm);
}
.panel-card { padding: 1.4rem; }
.card-header-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid var(--pmb-line);
}
.card-header-modern h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.soft-surface { background: linear-gradient(145deg, #fff, #f7fbfd); }
.sensitive { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Landing page */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6.2rem 0 5.2rem;
  background:
    linear-gradient(112deg, rgba(232, 246, 255, .96) 0%, rgba(255, 255, 255, .98) 55%, rgba(234, 250, 241, .96) 100%);
  border-bottom: 1px solid var(--pmb-line);
}
.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}
.hero::before {
  width: 440px;
  height: 440px;
  top: -220px;
  right: -90px;
  background: radial-gradient(circle, rgba(22, 132, 212, .14), transparent 68%);
}
.hero::after {
  width: 360px;
  height: 360px;
  bottom: -240px;
  left: 8%;
  background: radial-gradient(circle, rgba(14, 154, 131, .12), transparent 67%);
}
.hero .container { position: relative; }
.hero h1 {
  max-width: 780px;
  margin: .85rem 0 0;
  color: var(--pmb-navy);
  font-size: clamp(2.45rem, 5.5vw, 4.65rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.hero .lead { max-width: 700px; color: #526a7d !important; font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.7; }
.hero-logo-wrap {
  position: relative;
  width: min(100%, 410px);
  margin: auto;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 2rem;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 30px 80px rgba(8, 47, 74, .12);
  backdrop-filter: blur(14px);
}
.hero-logo-wrap::after {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px dashed rgba(11, 103, 173, .18);
  border-radius: 1.55rem;
  content: "";
}
.hero-logo { display: block; max-height: 365px; margin: auto; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(8, 47, 74, .16)); }
.trust-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem .75rem;
  color: #3c5a6e;
  font-size: .8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(173, 203, 222, .6);
  border-radius: 999px;
}
.trust-chip::before { width: 7px; height: 7px; content: ""; background: var(--pmb-teal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(14, 154, 131, .11); }
.program-card { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--pmb-shadow); }
.program-card::after { position: absolute; right: -30px; bottom: -35px; width: 110px; height: 110px; content: ""; background: var(--pmb-blue-soft); border-radius: 50%; }
.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--pmb-blue);
  font-size: .82rem;
  font-weight: 850;
  background: linear-gradient(145deg, #edf8ff, #dff1fd);
  border: 1px solid #cde6f6;
  border-radius: .95rem;
}
.process-card { height: 100%; padding: 1.25rem; border: 1px solid var(--pmb-line); border-radius: 1rem; background: #fff; }
.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(145deg, var(--pmb-blue), var(--pmb-blue-2));
  border-radius: .82rem;
  box-shadow: 0 8px 18px rgba(11, 103, 173, .2);
}
.contact-card { background: linear-gradient(145deg, var(--pmb-navy), #0d527d); color: #fff; border: 0; }
.contact-card .eyebrow { color: #6de0c8; }
.contact-card .text-secondary { color: rgba(255, 255, 255, .72) !important; }
.accordion-item { overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--pmb-line) !important; border-radius: .9rem !important; background: #fff; }
.accordion-button { padding: 1.15rem 1.2rem; color: var(--pmb-navy); font-size: .95rem; font-weight: 750; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--pmb-blue); background: var(--pmb-blue-soft); }

/* Alerts */
.alert { border-width: 1px; border-radius: .9rem; font-size: .9rem; }
.alert-success { color: #0d6b39; background: var(--pmb-green-soft); border-color: #bfe6d0; }
.alert-danger { color: #9e2626; background: var(--pmb-red-soft); border-color: #f1c4c4; }
.alert-warning { color: #765801; background: var(--pmb-yellow-soft); border-color: #f2dfa0; }
.alert-info { color: #15597f; background: var(--pmb-blue-soft); border-color: #c3e2f5; }
.flash-wrap { position: relative; z-index: 1020; }

/* Forms */
.form-shell { max-width: 1120px; margin: auto; }
.form-card { overflow: hidden; padding: 1.25rem 1.35rem 1.5rem; box-shadow: var(--pmb-shadow); }
.registration-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}
.registration-summary span {
  padding: .45rem .7rem;
  color: #4f687a;
  font-size: .78rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--pmb-line);
  border-radius: 999px;
}
.progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: .55rem;
  overflow-x: auto;
  padding: .2rem .1rem .8rem;
  scrollbar-width: thin;
}
.progress-step {
  display: flex;
  min-width: 135px;
  align-items: center;
  gap: .65rem;
  padding: .72rem .78rem;
  color: #637789;
  font-size: .76rem;
  font-weight: 750;
  background: #f1f5f8;
  border: 1px solid #e2eaf0;
  border-radius: .9rem;
  transition: all .22s ease;
}
.progress-step .progress-index {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #607487;
  background: #fff;
  border: 1px solid #d6e1e8;
  border-radius: .58rem;
}
.progress-step.active { color: #fff; background: linear-gradient(135deg, var(--pmb-blue), var(--pmb-blue-2)); border-color: transparent; box-shadow: 0 10px 22px rgba(11, 103, 173, .2); }
.progress-step.active .progress-index { color: var(--pmb-blue); border-color: #fff; }
.progress-step.complete { color: #146b4b; background: var(--pmb-green-soft); border-color: #bce3d1; }
.progress-step.complete .progress-index { color: #fff; background: var(--pmb-teal); border-color: var(--pmb-teal); }
.js .form-step { display: none; }
.js .form-step.active { display: block; animation: step-in .28s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.form-step { padding: .85rem .25rem .25rem; }
.form-section-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.45rem;
  padding-bottom: 1rem;
  color: var(--pmb-navy);
  font-size: 1.12rem;
  font-weight: 850;
  border-bottom: 1px solid var(--pmb-line);
}
.form-section-title::before { width: 9px; height: 27px; content: ""; background: linear-gradient(var(--pmb-blue), var(--pmb-teal)); border-radius: 999px; }
.form-label {
  margin-bottom: .48rem;
  color: #29495f;
  font-size: .83rem;
  font-weight: 750;
}
.required::after { color: var(--pmb-red); content: " *"; }
.form-control,
.form-select {
  min-height: 48px;
  padding: .7rem .85rem;
  color: var(--pmb-ink);
  background-color: #fbfdfe;
  border: 1px solid #cddbe4;
  border-radius: .78rem;
  box-shadow: inset 0 1px 2px rgba(8, 47, 74, .02);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
textarea.form-control { min-height: 96px; resize: vertical; }
.form-control:hover,
.form-select:hover { border-color: #a9c2d3; }
.form-control:focus,
.form-select:focus {
  color: var(--pmb-ink);
  background: #fff;
  border-color: var(--pmb-blue-2);
  box-shadow: 0 0 0 .25rem rgba(22, 132, 212, .12);
}
.form-control::placeholder { color: #91a2af; }
.form-text { margin-top: .42rem; color: #738595; font-size: .74rem; }
.form-control[type="file"] { min-height: 50px; padding: .34rem; background: #fff; }
.form-control[type="file"]::file-selector-button {
  height: 40px;
  margin: -.02rem .7rem -.02rem -.02rem;
  padding: .52rem .85rem;
  color: var(--pmb-blue);
  font-size: .78rem;
  font-weight: 800;
  background: var(--pmb-blue-soft);
  border: 0;
  border-radius: .55rem;
}
.file-field { position: relative; }
.file-field:has(input[type="file"]) { padding: .8rem; background: #f9fcfe; border: 1px dashed #bdd3e1; border-radius: .92rem; }
.form-check { padding-left: 1.8rem; }
.form-check-input { width: 1.08rem; height: 1.08rem; margin-left: -1.8rem; border-color: #9eb4c3; }
.form-check-input:checked { background-color: var(--pmb-teal); border-color: var(--pmb-teal); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(14, 154, 131, .12); }
.input-group .form-control { border-radius: .78rem 0 0 .78rem; }
.input-group .btn { border-radius: 0 .78rem .78rem 0; }
.info-panel { padding: 1rem 1.1rem; background: var(--pmb-blue-soft); border: 1px solid #c7e3f4; border-left: 4px solid var(--pmb-blue); border-radius: .86rem; }

/* Authentication */
.auth-section { padding: 4.5rem 0 5.5rem; }
.auth-shell { max-width: 980px; margin: auto; overflow: hidden; border-radius: 1.5rem; background: #fff; box-shadow: var(--pmb-shadow); }
.auth-aside {
  position: relative;
  min-height: 100%;
  padding: 2.6rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(109, 224, 200, .28), transparent 12rem),
    linear-gradient(145deg, var(--pmb-navy), #0c5d89);
}
.auth-aside h2 { font-weight: 850; letter-spacing: -.035em; }
.auth-aside p { color: rgba(255, 255, 255, .76); }
.auth-points { display: grid; gap: .75rem; margin-top: 1.8rem; }
.auth-point { display: flex; align-items: center; gap: .7rem; font-size: .84rem; font-weight: 650; }
.auth-point::before { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; content: "✓"; color: var(--pmb-navy); font-size: .72rem; font-weight: 900; background: #6de0c8; border-radius: 50%; }
.auth-form { padding: 2.6rem; }
.auth-form h1 { color: var(--pmb-navy); font-weight: 850; letter-spacing: -.035em; }
.login-panel { max-width: none; margin: 0; }

/* Portal */
.portal-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--pmb-navy), var(--pmb-blue)); border: 0; border-radius: 1.35rem; box-shadow: var(--pmb-shadow); }
.portal-hero::after { position: absolute; top: -70px; right: -50px; width: 220px; height: 220px; content: ""; background: rgba(255, 255, 255, .08); border-radius: 50%; }
.portal-check { padding: .85rem; background: #f9fcfe; border: 1px solid var(--pmb-line); border-radius: .82rem; }
.status-badge { padding: .5rem .7rem; font-size: .75rem; border-radius: 999px; }
.timeline { margin-left: .55rem; padding-left: 1.35rem; border-left: 2px solid #d7e5ed; }
.timeline-item { position: relative; padding-bottom: 1.25rem; }
.timeline-item::before { position: absolute; top: .2rem; left: -1.73rem; width: .72rem; height: .72rem; content: ""; background: var(--pmb-blue); border: 3px solid #e9f5fc; border-radius: 50%; box-sizing: content-box; }
.one-time-secret { padding: 1rem; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.3rem, 5vw, 2.05rem); font-weight: 800; letter-spacing: .12em; text-align: center; background: linear-gradient(135deg, var(--pmb-navy), var(--pmb-blue)); border-radius: .92rem; box-shadow: 0 12px 26px rgba(8, 47, 74, .18); }

/* Admin shell */
.admin-body { overflow-x: hidden; background: #eef4f7; }
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 258px minmax(0, 1fr); }
.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: 100vh;
  overflow-y: auto;
  padding: 1.3rem 1rem;
  color: #d8e8f3;
  background:
    radial-gradient(circle at 20% 0%, rgba(22, 132, 212, .22), transparent 17rem),
    linear-gradient(180deg, #082f4a 0%, #06243a 100%);
  box-shadow: 12px 0 34px rgba(8, 47, 74, .08);
}
.admin-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; padding: .55rem .55rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.admin-brand img { width: 39px; height: 46px; object-fit: contain; }
.admin-brand strong { display: block; color: #fff; font-size: .92rem; }
.admin-brand small { display: block; max-width: 150px; overflow: hidden; color: #8fb2c9; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar .nav-label { margin: 1.15rem .75rem .45rem; color: #6f9bb8; font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.admin-sidebar nav > a {
  display: flex;
  position: relative;
  align-items: center;
  gap: .72rem;
  margin: .2rem 0;
  padding: .68rem .76rem;
  color: #bdd3e1;
  font-size: .83rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: .75rem;
  transition: all .18s ease;
}
.admin-sidebar nav > a::before { width: 7px; height: 7px; flex: 0 0 auto; content: ""; background: #507d99; border-radius: 2px; transform: rotate(45deg); }
.admin-sidebar nav > a:hover { color: #fff; background: rgba(255, 255, 255, .065); }
.admin-sidebar nav > a.active { color: #fff; background: linear-gradient(135deg, rgba(22, 132, 212, .38), rgba(14, 154, 131, .18)); border-color: rgba(126, 191, 229, .2); box-shadow: inset 3px 0 0 #69d7c1; }
.admin-sidebar nav > a.active::before { background: #69d7c1; box-shadow: 0 0 0 4px rgba(105, 215, 193, .11); }
.admin-main { min-width: 0; padding: 1.6rem 1.8rem 3rem; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: .35rem 0 1.15rem; border-bottom: 1px solid #d8e4eb; }
.admin-topbar h1 { margin: .25rem 0 0; color: var(--pmb-navy); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 850; letter-spacing: -.035em; }
.admin-topbar-actions { display: flex; align-items: center; gap: .65rem; }
.admin-mobile-menu { color: #fff; border-color: rgba(255, 255, 255, .28); }
.admin-main > .card,
.admin-main > form.card { box-shadow: var(--pmb-shadow-sm); }
.stat-card { position: relative; overflow: hidden; min-height: 128px; padding: 1.15rem !important; border: 0; transition: transform .18s ease, box-shadow .18s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--pmb-shadow); }
.stat-card::after { position: absolute; right: -25px; bottom: -35px; width: 100px; height: 100px; content: ""; background: var(--stat-soft, var(--pmb-blue-soft)); border-radius: 50%; }
.stat-label { position: relative; z-index: 1; max-width: 150px; color: var(--pmb-muted); font-size: .78rem; font-weight: 700; }
.stat-value { position: relative; z-index: 1; margin-top: .45rem; color: var(--stat-color, var(--pmb-blue)); font-size: 2rem; font-weight: 900; letter-spacing: -.05em; }
.stat-primary { --stat-color: var(--pmb-blue); --stat-soft: var(--pmb-blue-soft); }
.stat-warning { --stat-color: #c18c00; --stat-soft: var(--pmb-yellow-soft); }
.stat-danger { --stat-color: var(--pmb-red); --stat-soft: var(--pmb-red-soft); }
.stat-success { --stat-color: var(--pmb-green); --stat-soft: var(--pmb-green-soft); }
.stat-info { --stat-color: var(--pmb-teal); --stat-soft: #e6f8f5; }

/* Tables and badges */
.table { --bs-table-bg: transparent; margin-bottom: 0; color: var(--pmb-ink); }
.table thead th { padding: .82rem .9rem; color: #6a7c8b; font-size: .66rem; font-weight: 850; letter-spacing: .08em; vertical-align: middle; text-transform: uppercase; background: #f4f8fa; border-bottom: 1px solid var(--pmb-line); }
.table tbody td { padding: .88rem .9rem; font-size: .84rem; vertical-align: middle; border-color: #e5edf2; }
.table tbody tr { transition: background-color .16s ease; }
.table tbody tr:hover { background: #f8fbfd; }
.badge { padding: .43rem .62rem; font-size: .69rem; font-weight: 800; letter-spacing: .015em; border-radius: 999px; }
.text-bg-primary { background-color: var(--pmb-blue) !important; }
.text-bg-success { background-color: var(--pmb-green) !important; }
.text-bg-warning { color: #634a00 !important; background-color: #f8d563 !important; }
.text-bg-danger { background-color: var(--pmb-red) !important; }
.text-bg-info { color: #fff !important; background-color: var(--pmb-teal) !important; }
.pagination { gap: .25rem; }
.page-link { color: var(--pmb-blue); border-color: var(--pmb-line); border-radius: .55rem !important; }

/* Footer */
.footer { margin-top: 0 !important; color: #bad0df; background: linear-gradient(145deg, #082f4a, #051f32); }
.footer a { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { width: 44px; height: 52px; object-fit: contain; }
.footer-rule { border-color: rgba(255, 255, 255, .1) !important; }

@media (max-width: 991.98px) {
  .public-navbar .navbar-collapse { margin-top: .75rem; padding: .85rem; background: #fff; border: 1px solid var(--pmb-line); border-radius: 1rem; box-shadow: var(--pmb-shadow-sm); }
  .hero { padding: 4.2rem 0; }
  .hero-logo-wrap { max-width: 330px; margin-top: 1rem; }
  .auth-aside { padding: 2rem; }
  .auth-form { padding: 2rem; }
  .admin-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .admin-main { padding: 1.3rem; }
}

@media (max-width: 767.98px) {
  .brand-title { max-width: 190px; font-size: .86rem; }
  .brand-subtitle { font-size: .55rem; }
  .section-space { padding: 3.6rem 0; }
  .page-section { padding: 2.6rem 0 4rem; }
  .hero { padding: 3.4rem 0 3.8rem; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .hero-logo-wrap { padding: 1.5rem; }
  .hero-logo { max-height: 245px; }
  .progress-steps { display: flex; margin-right: -.2rem; padding-right: .2rem; }
  .form-card { padding: .95rem; }
  .form-step { padding: .7rem .05rem .1rem; }
  .auth-section { padding: 2.2rem 0 3.8rem; }
  .auth-aside { min-height: auto; padding: 1.7rem; }
  .auth-form { padding: 1.7rem; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; width: 100%; height: auto; min-height: auto; padding: .8rem 1rem; }
  .admin-brand { margin-bottom: .5rem; padding-bottom: .65rem; }
  .admin-sidebar nav { padding-bottom: .8rem; }
  .admin-sidebar .nav-label { margin-top: .8rem; }
  .admin-main { padding: 1rem .85rem 2.5rem; }
  .admin-topbar { align-items: flex-start; }
  .admin-topbar-actions .btn span { display: none; }
  .stat-card { min-height: 112px; }
  .table tbody td { padding: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
