/* Health-Intel access page and account-flow styles. */
/* Access-page element and dialog styles */
.access-brand-logo { width: 88px; height: auto; flex-shrink: 0; }
.access-card-logo { width: 70px; height: auto; }
.access-icon-18 { width: 18px; }
.access-icon-16 { width: 16px; }
.access-icon-14 { width: 14px; }
.access-privacy-checkbox { width: 14px; height: 14px }
.access-dark-text { color: var(--dark); }
.access-purple-text { color: var(--purple); }
.access-password-toggle { color: #cbd5e1; width: 18px; margin-right: 10px; cursor: pointer; }
.access-muted-chevron { color: #cbd5e1; width: 18px; margin-right: 10px; }
.access-options-spaced { display: flex; justify-content: space-between; align-items: center; }
.access-forgot-link { color: var(--gray); font-size: 0.75rem; text-decoration: none; padding-right: 5px; }
.access-gateway-note { font-size: 0.8rem; color: var(--gray); margin-bottom: 15px; }
.access-privacy-consent { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.8rem; cursor: pointer; color: var(--dark); margin-bottom: 25px; }
.access-terms-link { color: var(--teal); text-decoration: underline; }
.access-google-gate { opacity: 0.5; cursor: not-allowed; }
.access-google-icon { background: white; border-radius: 50%; padding: 2px; }
.access-cancel-gateway { color: var(--gray); font-size: 0.8rem; cursor: pointer; display: block; margin-top: 15px; }
.access-verified-banner { background: #f8fafc; border: 1px solid #e2e8f0; padding: 6px 10px; margin-bottom: 12px; border-radius: 8px; font-size: 0.75rem; color: var(--teal); }
.access-flex-field { flex: 1; }
.access-inset-control { padding-left: 10px; }
.access-system-id { background: #f1f5f9; font-weight: bold; padding-left: 10px; }
.access-barangay-group { display: none; margin-bottom: 12px; }
.access-space-bottom-12 { margin-bottom: 12px; }
.access-space-bottom-15 { margin-bottom: 15px; }
.access-space-bottom-0 { margin-bottom: 0; }
.access-submit { margin-bottom: 12px; padding: 10px; border-radius: 12px; }
.access-cancel-profile { color: var(--gray); font-size: 0.75rem; cursor: pointer; }
.access-reset-notice { background: #f0fdf4; border: 1px solid #bbf7d0; padding: 10px; border-radius: 8px; margin-bottom: 15px; font-size: 0.8rem; color: #166534; text-align: center; }
.access-reset-code { letter-spacing: 2px; font-weight: bold; }
.access-space-top-15 { margin-top: 15px; }
.access-back-login { font-size: 0.85rem; color: var(--gray); text-decoration: none; }
.access-terms-body { text-align: left; font-size: 0.9rem; line-height: 1.6; color: #334155; }
.access-terms-heading { color: #0ea5e9; font-weight: bold; margin-bottom: 8px; }
#profile-screen .input-group.access-space-bottom-12,
#profile-screen .input-group.access-barangay-group { margin-bottom: 12px; }
#profile-screen .input-group.access-space-bottom-15 { margin-bottom: 15px; }
.input-wrapper .access-inset-control { padding-left: 10px; }
.input-wrapper .access-system-id { background: #f1f5f9; font-weight: bold; padding-left: 10px; }


    :root { --navy:#10364b; --teal:#007f84; --muted:#596b7a; --line:#dce5eb; }
    * { box-sizing:border-box; }
    body { margin:0; font-family:'Poppins',sans-serif; color:var(--navy); background:#f5f8fa; }
    .intelligence-background { position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
    .intelligence-background svg { width:100%; height:100%; stroke:none; }
    button,input { font:inherit; }
    a { color:var(--teal); text-decoration:none; }
    a:hover { text-decoration:underline; }
    button,a,input { -webkit-tap-highlight-color:transparent; }
    button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #8ad7d7; outline-offset:3px; }
    .split-layout { width:min(1120px,100%); min-height:100svh; margin:auto; padding:32px 40px; display:grid; grid-template-columns:minmax(0,1fr) 420px; gap:90px; align-items:center; position:relative; z-index:1; }
    .brand { display:flex; align-items:center; gap:14px; margin-bottom:50px; }
    .access-brand-symbol { width:54px; height:54px; object-fit:contain; }
    .brand-text h1 { font-size:20px; letter-spacing:.6px; font-weight:700; line-height:1.4; }
    .brand-text p { margin-top:3px; color:var(--muted); font-size:10px; letter-spacing:1.3px; text-transform:uppercase; }
    .eyebrow { color:var(--teal); font-size:11px; letter-spacing:1.4px; font-weight:600; text-transform:uppercase; margin:0 0 16px; }
    h1 { font-size:42px; font-weight:600; line-height:1.22; letter-spacing:-1.6px; margin:0 0 20px; }
    h1 span { color:var(--teal); }
    .sub-heading { color:var(--muted); font-size:14px; line-height:1.85; max-width:420px; margin:0 0 34px; }
    .feature-list { display:grid; gap:22px; }
    .feature-item { display:flex; gap:14px; align-items:center; }
    .feature-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#e6f2f2; color:var(--teal); flex-shrink:0; }
    svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
    .feature-item h4 { font-size:13px; font-weight:600; margin:0 0 3px; }
    .feature-item p { font-size:11px; line-height:1.6; color:var(--muted); margin:0; }
    .login-card { background:#fff; border:1px solid #e5ecf0; border-radius:22px; padding:28px 32px 24px; box-shadow:0 14px 42px rgba(16,54,75,.045); }
    .form-header { text-align:center; }
    .access-card-logo { width:90px; height:90px; object-fit:contain; display:block; margin:0 auto 14px; }
    .login-card h2 { margin:0 0 6px; font-size:25px; font-weight:600; letter-spacing:-.7px; }
    .form-header p { margin:0 0 26px; color:var(--muted); font-size:11px; }
    .input-group { margin-bottom:18px; }
    .input-group label { display:block; margin-bottom:8px; font-size:11px; font-weight:500; }
    .input-wrapper { min-height:48px; display:flex; align-items:center; border:1px solid #cbd8e0; border-radius:10px; padding:0 13px; gap:10px; }
    .input-wrapper:focus-within { border-color:var(--teal); box-shadow:0 0 0 3px rgba(0,127,132,.08); }
    .input-wrapper svg { width:17px; height:17px; color:#718695; flex-shrink:0; }
    .input-wrapper input { min-width:0; width:100%; border:0; outline:none; background:transparent; color:var(--navy); font-size:12px; padding:13px 0; }
    input::placeholder { color:#8293a0; opacity:1; }
    .options-row { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 22px; font-size:10px; }
    .options-row label { display:flex; align-items:center; gap:7px; color:var(--muted); cursor:pointer; }
    .options-row label input { margin:0; width:14px; height:14px; accent-color:var(--teal); }
    .btn-primary { width:100%; height:48px; color:#fff; background:var(--teal); border:0; border-radius:10px; font-size:13px; font-weight:600; display:flex; gap:12px; justify-content:center; align-items:center; cursor:pointer; transition:background .15s; }
    .btn-primary:hover { background:#006b70; }
    .btn-primary svg { width:17px; height:17px; }
    .access-registration-line { margin:23px 0 21px; padding-top:20px; border-top:1px solid #e8eef2; text-align:center; font-size:10px; color:var(--muted); }
    .access-registration-line a { font-weight:600; margin-left:4px; }
    .security-badge { display:flex; gap:6px; justify-content:center; align-items:center; color:#657b88; font-size:9px; }
    .security-badge svg { width:13px; height:13px; }
    .access-login-note { color:var(--muted); text-align:center; font-size:10px; margin:17px 0 0; }
    @media(max-width:900px) { .split-layout { gap:40px; padding:32px; grid-template-columns:minmax(0,1fr) 380px; } h1 { font-size:34px; } .brand-text h1 { font-size:18px; } }
    @media(max-width:740px) { .split-layout { grid-template-columns:1fr; gap:26px; padding:28px 20px 36px; max-width:460px; align-content:start; } .brand { margin:0; justify-content:center; } .access-brand-symbol { width:46px; height:46px; } .brand-text h1 { font-size:18px; } .brand-text p { font-size:8px; letter-spacing:.9px; } .intro-content { display:none; } .login-card { padding:26px 24px 24px; border-radius:20px; } .access-card-logo { width:90px; height:90px; } .form-header p { margin-bottom:26px; } .input-wrapper input { font-size:16px; padding:12px 0; } .input-group label { font-size:12px; } .options-row,.access-registration-line { font-size:11px; } .btn-primary { font-size:14px; } .access-login-note { font-size:10px; } }

:root { --teal:#007f84; --purple:#007f84; --dark:#10364b; --gray:#596b7a; --gradient:#007f84; }
body { display:block; overflow-x:clip; min-height:100svh; }
.info-side,.form-side { display:block; min-width:0; }
.brand-text h1 { margin:0; }
.brand-text p { margin:3px 0 0; }
.split-layout.profile-layout .info-side { padding-top:0; align-self:center; }
.main-heading { font-size:42px; line-height:1.22; letter-spacing:-1.6px; margin:0 0 20px; }
.gradient-text { background:none; -webkit-text-fill-color:#007f84; color:#007f84; }
.notch { width:auto; height:auto; background:none; border-radius:0; box-shadow:none; margin:0; }
.notch .access-card-logo { width:90px; height:90px; display:block; margin:0 auto 14px; }
.feature-list::before { display:none; }
.feature-icon { box-shadow:none; }
.feature-text h4,.feature-item:nth-child(2) .feature-text h4,.feature-item:nth-child(3) .feature-text h4 { color:var(--navy); font-size:13px; }
.feature-item .feature-icon { color:var(--teal); }
.input-group label { color:var(--navy); text-transform:none; letter-spacing:0; }
.input-icon-box { width:17px; height:17px; background:none; color:#718695; border-radius:0; }
.input-wrapper input,.input-wrapper select { flex:1; width:100%; border:0; outline:none; background:transparent; color:var(--navy); font-family:inherit; font-size:12px; padding:13px 0; min-width:0; }
.hidden { display:none !important; }
#profile-screen .form-row { display:flex; gap:8px; margin-bottom:10px; }
#profile-screen .input-group { margin-bottom:0; }
.btn-icon { display:grid; place-items:center; width:17px; }
.access-password-button { border:0; padding:4px; background:none; cursor:pointer; display:grid; place-items:center; }
.access-password-toggle { margin:0; width:17px; height:17px; color:#718695; }
.options-row { justify-content:space-between; }
.access-forgot-link { color:var(--teal); font-size:inherit; padding:0; }
.btn-primary { box-shadow:none; }
.btn-primary:hover { box-shadow:none; transform:none; }
.access-register-link { border:0; padding:0; margin:0; background:none; font:inherit; color:var(--teal); font-weight:600; cursor:pointer; }
.access-register-link:hover { text-decoration:underline; }
.login-card:has(#login-form.hidden) .login-subtitle { display:none; }
.login-card:has(#login-form.hidden) .form-header { margin-bottom:20px; }
.access-privacy-consent { align-items:flex-start; text-align:left; }
@media(max-width:900px) { .main-heading { font-size:34px; } }
@media(max-width:740px) { .main-heading,.sub-heading,.feature-list { display:none; } .input-wrapper input { font-size:16px; } }
@media(min-width:741px) { .main-heading,.sub-heading { display:block; } .feature-list { display:grid; } }

/* Keep the complete login visible in shorter windows, including browser zoom. */
@media(max-height:700px) {
  .split-layout { padding-block:16px; }
  .brand { margin-bottom:24px; }
  .main-heading { font-size:36px; margin-bottom:16px; }
  .eyebrow { margin-bottom:12px; }
  .sub-heading { margin-bottom:22px; line-height:1.65; }
  .feature-list { gap:16px; }
  .feature-icon { width:36px; height:36px; }
  .login-card { padding-block:20px; }
  .notch .access-card-logo { width:72px; height:72px; margin-bottom:10px; }
  .form-header p { margin-bottom:18px; }
  .input-group { margin-bottom:12px; }
  .input-group label { margin-bottom:6px; }
  .input-wrapper { min-height:44px; }
  .input-wrapper input,.input-wrapper select { padding-block:11px; }
  .options-row { margin-bottom:14px; }
  .btn-primary { height:44px; }
  .access-registration-line { margin:16px 0 14px; padding-top:14px; }
  .access-login-note { margin-top:12px; }
}
@media(max-height:560px) {
  .split-layout { padding-block:12px; }
  .brand { margin-bottom:18px; }
  .main-heading { font-size:32px; margin-bottom:12px; }
  .sub-heading { margin-bottom:16px; }
  .feature-list { gap:12px; }
  .login-card { padding-block:16px; }
  .notch .access-card-logo { width:58px; height:58px; margin-bottom:8px; }
  .form-header p { margin-bottom:14px; }
  .input-group { margin-bottom:10px; }
  .options-row { margin-bottom:12px; }
  .access-registration-line { margin:12px 0; padding-top:12px; }
  .access-login-note { margin-top:8px; }
}
@media(max-width:740px) and (max-height:800px) {
  .split-layout { padding-block:18px; gap:18px; }
  .brand { margin-bottom:0; }
  .login-card { padding-block:20px; }
  .notch .access-card-logo { width:72px; height:72px; margin-bottom:10px; }
  .form-header p { margin-bottom:18px; }
  .input-group { margin-bottom:14px; }
  .access-registration-line { margin:16px 0; padding-top:16px; }
}
