/* Presentation only. Keep this stylesheet scoped to authentication surfaces. */
.bpc-auth,
.bpc-password-change {
  --access-green: #12613e;
  --access-deep: #12432f;
  --access-ink: #193329;
  --access-muted: #53675c;
  --access-line: #ccd8d0;
  --access-pale: #f3f7f4;
  --access-error: #a52c32;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--access-ink);
  line-height: 1.6;
  font-size: 15px;
  color-scheme: light;
}
.bpc-auth *, .bpc-password-change * { box-sizing: border-box; }
.bpc-auth { margin: 0; background: var(--access-pale); min-height: 100svh; display: flex; flex-direction: column; }
.bpc-auth ::selection, .bpc-password-change ::selection { background: #cce9d6; color: #12432f; }
.bpc-auth a:not(.ndi-modal-overlay a), .bpc-password-change a { color: var(--access-green); text-underline-offset: 4px; }
.bpc-auth a:hover:not(.ndi-modal-overlay a), .bpc-password-change a:hover { color: var(--access-deep); }
.bpc-auth :focus-visible, .bpc-password-change :focus-visible { outline: 3px solid #227a50; outline-offset: 4px; }
.auth-skip { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: white; transform: translateY(-160%); z-index: 10001; }
.auth-skip:focus { transform: translateY(0); }
.access-header, .access-footer { width: min(1160px, calc(100% - 80px)); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.access-header { padding-block: 28px; }
.access-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.access-brand img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.access-brand > span { display: grid; gap: 2px; }
.access-brand strong { color: var(--access-deep); font-size: 15px; font-weight: 800; }
.access-brand span span { color: var(--access-muted); font-size: 13px; }
.access-help { color: var(--access-muted) !important; text-decoration: none; font-size: 13px; }
.access-help strong { color: var(--access-green); margin-left: 6px; }
.access-layout { width: min(1160px, calc(100% - 80px)); margin: auto; display: grid; grid-template-columns: 0.95fr 1.05fr; background: white; border-radius: 16px; overflow: hidden; min-height: 650px; box-shadow: 0 16px 48px rgb(18 67 47 / 7%); }
.access-intro { padding: clamp(32px, 4.5vw, 64px); background: var(--access-deep); color: white; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.access-intro h1 { margin: 0 0 20px; max-width: 12ch; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.access-intro-copy > p { color: #d2e6da; margin: 0; font-size: 14px; }
.access-services { list-style: none; padding: 0; margin: 32px 0 20px; font-size: 14px; }
.access-services li { padding: 14px 0; border-bottom: 1px solid #3e6852; }
.access-services li:first-child { border-top: 1px solid #3e6852; }
.access-intro-copy .access-faq { font-size: 12px; color: #c4ddcf; }
.access-notice { background: #fff8e8; color: #76500b; padding: 18px 20px; border-radius: 8px; }
.access-notice strong { font-size: 13px; font-weight: 800; }
.access-notice p { margin: 5px 0 0; font-size: 12px; line-height: 1.7; }
.access-panel { min-width: 0; display: grid; align-items: center; padding: 48px clamp(28px, 4.5vw, 64px); scroll-margin-top: 20px; }
.access-panel:focus { outline: none; }
.access-panel-inner { width: 100%; max-width: 440px; margin-inline: auto; }
.access-heading { margin-bottom: 30px; }
.access-heading h2, .bpc-password-change h2 { margin: 0 0 10px; font-size: 29px; line-height: 1.25; font-weight: 800; letter-spacing: -0.025em; color: var(--access-ink); }
.access-heading p, .bpc-password-change .access-description { margin: 0; color: var(--access-muted); font-size: 14px; }
.access-form { display: grid; gap: 20px; margin: 0; }
.access-field { display: grid; gap: 7px; min-width: 0; }
.access-field label { font-size: 13px; font-weight: 700; color: var(--access-ink); }
.access-field input:not([type="checkbox"]), .access-field select { display: block; width: 100%; min-width: 0; height: 48px; padding: 10px 14px; border: 1px solid #9aafa2; border-radius: 8px; background: white; color: var(--access-ink); font: inherit; font-size: 16px; line-height: 1.5; caret-color: var(--access-green); box-shadow: none; }
.access-field input::placeholder { color: #65756b; opacity: 1; font-size: 14px; }
.access-field input:focus, .access-field select:focus { border-color: var(--access-green); outline: 2px solid var(--access-green); outline-offset: 2px; }
.access-field input[readonly] { background: var(--access-pale); color: var(--access-muted); }
.access-field.has-error input { border-color: var(--access-error); }
.access-hint { font-size: 12px; color: var(--access-muted); line-height: 1.7; }
.access-hint ul { padding-left: 18px; margin: 4px 0; }
.access-field-error, .access-form .errorlist { color: var(--access-error); margin: 0; font-size: 13px; }
.access-form .errorlist { padding-left: 18px; }
.access-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.access-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--access-muted); }
.access-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--access-green); }
.access-meta a { font-weight: 700; }
.bpc-auth .access-primary, .bpc-password-change .access-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; background: var(--access-green); color: white; font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.bpc-auth .access-primary:hover, .bpc-password-change .access-primary:hover { background: var(--access-deep); color: white; }
.bpc-auth button:disabled, .bpc-password-change button:disabled { opacity: 0.55; cursor: not-allowed; }
.access-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--access-muted); font-size: 12px; }
.access-divider::before, .access-divider::after { content: ""; height: 1px; flex: 1; background: var(--access-line); }
.access-back { margin: 26px 0 0; text-align: center; font-size: 13px; }
.access-back a { font-weight: 700; }
.access-messages { display: grid; gap: 10px; margin-bottom: 22px; }
.access-message { padding: 12px 14px; border-radius: 8px; background: #fff0f0; color: #92282e; font-size: 13px; overflow-wrap: anywhere; }
.access-message-success { background: #e8f5ec; color: var(--access-deep); }
.access-footer { padding-block: 24px; font-size: 11px; color: var(--access-muted); }
.access-footer p { margin: 0; }
.access-footer a { font-weight: 700; }
.access-text { font-size: 14px; color: var(--access-muted); margin: 0 0 24px; }
.access-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.access-field-wide { grid-column: 1 / -1; }
.access-resend { margin: 0; color: var(--access-muted); font-size: 13px; }
.access-link-button { border: 0; background: none; color: var(--access-green); padding: 8px 4px; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bpc-password-change { max-width: 600px; margin-inline: auto; padding: clamp(20px, 4vw, 40px); }
.bpc-password-change .access-form { margin-top: 28px; }
.bpc-password-change .access-meta { justify-content: flex-end; }
.dashboard-panel .bpc-password-change .access-primary { background: var(--access-green); border-radius: 8px; box-shadow: none; transform: none; }
.dashboard-panel .bpc-password-change .access-primary:hover { background: var(--access-deep); box-shadow: none; transform: none; }
@media (min-width: 1600px) { .access-layout { min-height: 700px; } }
@media (max-width: 900px) {
  .access-header, .access-footer, .access-layout { width: calc(100% - 48px); }
  .access-layout { grid-template-columns: 0.9fr 1.1fr; }
  .access-intro { padding: 32px; }
  .access-panel { padding: 36px 28px; }
  .access-intro h1 { font-size: 34px; }
}
@media (max-width: 700px) {
  .access-header, .access-footer, .access-layout { width: calc(100% - 32px); }
  .access-header { padding-block: 20px; }
  .access-brand { gap: 10px; }
  .access-brand img { width: 44px; height: 44px; }
  .access-brand strong { font-size: 12px; }
  .access-brand span span { font-size: 11px; }
  .access-help { display: none; }
  .access-layout { grid-template-columns: 1fr; margin-block: 0; min-height: auto; }
  .access-intro { padding: 28px; gap: 22px; }
  .access-intro h1 { max-width: 21ch; font-size: 28px; margin-bottom: 10px; }
  .access-services, .access-faq { display: none; }
  .access-intro-copy > p { font-size: 12px; }
  .access-notice { padding: 12px 14px; }
  .access-notice p { font-size: 11px; margin-top: 3px; }
  .access-panel { padding: 32px 28px; }
  .access-heading { margin-bottom: 24px; }
  .access-heading h2 { font-size: 26px; }
  .access-footer { align-items: center; flex-direction: column; gap: 5px; padding-block: 20px; text-align: center; }
}
@media (max-width: 380px) {
  .access-header, .access-footer, .access-layout { width: calc(100% - 24px); }
  .access-intro, .access-panel { padding: 24px 20px; }
  .access-field-grid { grid-template-columns: 1fr; }
  .access-meta { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bpc-auth *, .bpc-password-change * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
