/* FindMyDoctor.ph — styles for the static /Account pages (Bootstrap 5 base) */
:root {
    --fmd-primary: #0F5BD8;
    --fmd-primary-dark: #0B47AB;
    --fmd-teal: #10B39B;
    --fmd-ink: #0F172A;
    --fmd-muted: #64748B;
    --fmd-line: #E2E8F0;
    --fmd-bg: #F4F7FB;
    --bs-primary: #0F5BD8;
    --bs-primary-rgb: 15, 91, 216;
    --bs-link-color: #0F5BD8;
    --bs-link-hover-color: #0B47AB;
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body { background: var(--fmd-bg); color: var(--fmd-ink); }
h1, h2, h3, .acct-title { font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -0.01em; }

.acct-shell { min-height: 100vh; display: flex; flex-direction: column; }

.acct-topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px clamp(16px, 4vw, 40px); background: #fff; border-bottom: 1px solid var(--fmd-line);
}
.acct-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--fmd-ink); text-decoration: none; }
.acct-brand-ph { color: var(--fmd-teal); }
.acct-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fmd-primary), var(--fmd-teal)); color: #fff; font-size: 1.4rem; font-weight: 800; line-height: 1; }
.acct-topnav { display: flex; align-items: center; gap: 18px; font-weight: 500; }
.acct-topnav a { color: var(--fmd-ink); text-decoration: none; }
.acct-topnav a:hover { color: var(--fmd-primary); }
.acct-linkbtn { border: 0; background: none; color: var(--fmd-ink); font-weight: 500; padding: 0; }
.acct-linkbtn:hover { color: var(--fmd-primary); }

.acct-main { flex: 1; padding: clamp(20px, 5vw, 56px) 16px; }

.acct-footer { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 18px 16px; color: var(--fmd-muted); font-size: .875rem; border-top: 1px solid var(--fmd-line); background: #fff; }
.acct-footer a { color: var(--fmd-muted); }
.acct-footer-note { color: #B42318; font-weight: 500; }

/* Split auth layout: form card + brand panel */
.acct-split { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px -24px rgba(15, 23, 42, .25); border: 1px solid var(--fmd-line); }
.acct-split.acct-split-wide { max-width: 1160px; grid-template-columns: 1.35fr .65fr; }
.acct-form { padding: clamp(24px, 4vw, 48px); }
.acct-aside { background: linear-gradient(160deg, var(--fmd-primary) 0%, #0A3E9A 55%, #08306F 100%); color: #fff; padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.acct-aside::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 179, 155, .55), transparent 70%); }
.acct-aside h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.acct-aside p { color: rgba(255, 255, 255, .85); }
.acct-aside ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.acct-aside li { display: flex; gap: 12px; align-items: flex-start; }
.acct-aside li .tick { flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: .85rem; }
.acct-aside .acct-aside-foot { margin-top: 28px; font-size: .85rem; color: rgba(255, 255, 255, .7); position: relative; z-index: 1; }

.acct-card { background: #fff; border: 1px solid var(--fmd-line); border-radius: 20px; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .2); }
.acct-narrow { max-width: 480px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); }
.acct-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 6px; }
.acct-sub { color: var(--fmd-muted); margin-bottom: 24px; }
.acct-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fmd-teal); margin-bottom: 8px; }
.acct-section-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fmd-muted); margin: 18px 0 10px; }

.form-control, .form-select { border-radius: 12px; border-color: #CBD5E1; }
.form-control:focus, .form-select:focus { border-color: var(--fmd-primary); box-shadow: 0 0 0 .2rem rgba(15, 91, 216, .15); }
.form-floating > label { color: var(--fmd-muted); }
.btn { border-radius: 12px; font-weight: 600; }
.btn-primary { background: var(--fmd-primary); border-color: var(--fmd-primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--fmd-primary-dark); border-color: var(--fmd-primary-dark); }
.btn-lg { padding: .8rem 1rem; }
.alert { border-radius: 12px; }
.nav-pills .nav-link { border-radius: 10px; color: var(--fmd-ink); }
.nav-pills .nav-link.active { background: var(--fmd-primary); }
.text-danger { font-size: .85rem; }
.validation-message { color: #B42318; font-size: .85rem; margin-top: 4px; }

.acct-divider { display: flex; align-items: center; gap: 12px; color: var(--fmd-muted); font-size: .85rem; margin: 20px 0; }
.acct-divider::before, .acct-divider::after { content: ""; flex: 1; height: 1px; background: var(--fmd-line); }

.acct-links { display: grid; gap: 8px; font-size: .95rem; }
.acct-links a { text-decoration: none; }

.acct-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; } /* honeypot */
.fmd-turnstile-ssr { min-height: 70px; margin: 8px 0 16px; }

.acct-pw-hint { font-size: .8rem; color: var(--fmd-muted); margin-top: 6px; }
.acct-consent { font-size: .9rem; color: #334155; }
.acct-status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.8rem; }
.acct-status-icon.ok { background: #DCFCE7; color: #15803D; }
.acct-status-icon.mail { background: #DBEAFE; color: var(--fmd-primary); }
.acct-status-icon.err { background: #FEE2E2; color: #B42318; }

.acct-manage { max-width: 1100px; margin: 0 auto; }
.acct-manage-head { margin-bottom: 20px; }
.acct-manage-head h1 { font-size: 1.6rem; font-weight: 800; }

@media (max-width: 900px) {
    .acct-split, .acct-split.acct-split-wide { grid-template-columns: 1fr; }
    .acct-aside { order: -1; }
    .acct-aside ul { display: none; }
    .acct-topnav a:not(:last-child) { display: none; }
}

/* Remaining template account pages (reset password, lockout, 2FA…) get a centered column */
.acct-main > :not(.acct-split):not(.acct-card):not(.acct-manage) { max-width: 640px; margin-left: auto; margin-right: auto; }
.acct-main > h1 { font-size: 1.75rem; font-weight: 800; }
.acct-main > .row > .col-md-4, .acct-main > div > .row > .col-md-4 { flex: 0 0 100%; max-width: 100%; }
