/* login.css — 2026-11-05 FEATURE_LOGIN_INLINE
   Scoped under .login-v2 body class.
   Member-area palette values reused (not member.css itself — public page).
   source-chat: https://claude.ai/chat/3bf16757-5161-4dc8-ba26-9475e0625b23
*/

/* ── Custom properties ── */
.login-v2 {
    --navy:      #2f4a8a;
    --navy-dk:   #22376a;
    --red:       #c8102e;
    --red-pale:  #fbe9ec;
    --navy-tint: #eef2fa;
    --radius:    .75rem;
}

/* ── Page ground ── */
.login-v2 {
    background: #fff;
    min-height: 100vh;
}
/* ── Split card container ── */
.lv2-wrap {
    background: #f5f6fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);   /* leave room for navbar */
    padding: 2rem 1rem;
}

.lv2-card {
    display: grid;
    grid-template-columns: 2fr 3fr;   /* ~40 / 60 */
    max-width: 1180px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* ── Left column (navy explainer) ── */
.lv2-left {
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dk) 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lv2-left-label {
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .12em;
    opacity: .7;
    margin-bottom: .5rem;
}

.lv2-left h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: #fff;
}

.lv2-block {
    display: flex;
    gap: .85rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.lv2-block-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.lv2-block-text {
    font-size: .88rem;
    line-height: 1.55;
    opacity: .92;
}

.lv2-block-text strong {
    display: block;
    font-size: .92rem;
    margin-bottom: .15rem;
    opacity: 1;
}

.lv2-block-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lv2-block-text a:hover {
    opacity: .8;
}

.lv2-left-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: .8rem;
    opacity: .6;
    line-height: 1.5;
}
.lv2-left-footer a {
    color: #fff;
    text-decoration: underline;
}

/* ── Right column (form) ── */
.lv2-right {
    background: #fff;
    padding: 3rem 2.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── Form state heading ── */
.lv2-heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: .35rem;
}
.lv2-sub {
    font-size: .88rem;
    color: #666;
    margin-bottom: 1.8rem;
    line-height: 1.55;
}

/* ── Labels + inputs ── */
.lv2-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .35rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.lv2-input {
    display: block;
    width: 100%;
    padding: .65rem .85rem;
    font-size: .95rem;
    border: 1px solid #ccd2de;
    border-radius: var(--radius);
    background: #fff;
    color: #1a1a2e;
    transition: border-color .15s, box-shadow .15s;
}
.lv2-input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 .2rem rgba(200, 16, 46, .18);
}
.lv2-input:disabled {
    background: #f0f2f6;
    color: #888;
}

/* ── Password wrapper (show/hide toggle) ── */
.lv2-pw-wrap {
    position: relative;
}
.lv2-pw-toggle {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: .25rem;
    font-size: 1rem;
}
.lv2-pw-toggle:hover { color: var(--navy); }

/* ── Buttons ── */
.lv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .7rem 2rem;
    font-size: .92rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background .15s, box-shadow .15s, opacity .15s;
    min-height: 44px;          /* touch target */
}
.lv2-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.lv2-btn-red,
.lv2-btn-red:visited {
    background: var(--red);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(200,16,46,.18);
    text-decoration: none;
}
.lv2-btn-red:hover:not(:disabled),
.lv2-btn-red:focus:not(:disabled) {
    background: #d93350;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(200,16,46,.30);
    text-decoration: none;
}

/* 11-25-2026 Nick: navy solid button (public_client Order a new record), same shape as .lv2-btn-red */
.lv2-btn-navy,
.lv2-btn-navy:visited {
    background: var(--navy);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(47,74,138,.18);
    text-decoration: none;
}
.lv2-btn-navy:hover:not(:disabled),
.lv2-btn-navy:focus:not(:disabled) {
    background: var(--navy-dk);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(47,74,138,.30);
    text-decoration: none;
}

.lv2-btn-outline,
.lv2-btn-outline:visited {
    background: transparent;
    color: var(--navy) !important;
    border: 2px solid var(--navy);
    text-decoration: none;
}
.lv2-btn-outline:hover:not(:disabled),
.lv2-btn-outline:focus:not(:disabled) {
    background: var(--navy-tint);
    color: var(--navy) !important;
    text-decoration: none;
}

.lv2-btn-ghost {
    background: transparent;
    color: var(--navy);
    border: none;
    padding: .5rem .75rem;
    font-size: .85rem;
}
.lv2-btn-ghost:hover { text-decoration: underline; }

/* ── Email chip (State P) ── */
.lv2-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--navy-tint);
    border: 1px solid #d0d7ea;
    border-radius: var(--radius);
    padding: .55rem .85rem;
    margin-bottom: 1.25rem;
    font-size: .88rem;
    color: var(--navy-dk);
}
.lv2-chip-email {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}
.lv2-chip-change {
    font-size: .78rem;
    color: var(--navy);
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
    white-space: nowrap;
}

/* ── Field group ── */
.lv2-field {
    margin-bottom: 1.25rem;
}

/* ── Inline error slot ── */
.lv2-error {
    font-size: .82rem;
    color: var(--red);
    margin-top: .5rem;
    min-height: 1.2em;
}
.lv2-error:empty { display: none; }

/* ── Forgot password link ── */
.lv2-forgot {
    display: inline-block;
    font-size: .82rem;
    color: var(--navy);
    text-decoration: none;
    margin-top: .5rem;
}
.lv2-forgot:hover { text-decoration: underline; }

/* ── State N body text ── */
.lv2-noaccount-body {
    font-size: .92rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lv2-noaccount-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
}

.lv2-try-diff {
    display: inline-block;
    font-size: .82rem;
    color: var(--navy);
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
    padding: 0;
    margin-top: .5rem;
}

/* ── Busy spinner (inline with button text) ── */
.lv2-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lv2spin .6s linear infinite;
}
@keyframes lv2spin {
    to { transform: rotate(360deg); }
}

/* ── Public client page (public_client.php) ── */
.lv2-pub-card {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 1.5rem 2rem;
}

.lv2-pub-topline {
    margin-bottom: 1rem;
}
.lv2-pub-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
}
.lv2-pub-sub {
    font-size: .88rem;
    color: #666;
}

.lv2-pub-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-bottom: .5rem;
}

.lv2-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}
.lv2-tile {
    background: var(--navy-tint);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    text-align: center;
}
.lv2-tile-label {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-bottom: .3rem;
}
.lv2-tile-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dk);
}

/* Delivery tiles — smaller variant */
.lv2-tiles-sm {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: .75rem;
}
.lv2-tile-sm {
    padding: .6rem .85rem;
    text-align: left;
}
.lv2-tile-sm .lv2-tile-label {
    font-size: .6rem;
}
.lv2-tile-sm .lv2-tile-label i {
    font-size: .75rem;
    vertical-align: -1px;
    margin-right: .15rem;
}
.lv2-tile-sm .lv2-tile-value {
    font-size: .85rem;
}

.lv2-pub-privacy {
    font-size: .82rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: .75rem;
}

.lv2-pub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin-bottom: .5rem;
}

.lv2-pub-email {
    font-size: .82rem;
    color: #888;
    margin-left: .5rem;
}

.lv2-pub-section {
    border-top: 1px solid #eee;
    margin-top: 1rem;
    padding-top: 1rem;
}

.lv2-pub-footer {
    font-size: .8rem;
    color: #888;
    margin-top: 1rem;
}
.lv2-pub-footer a {
    color: var(--navy);
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .lv2-card {
        grid-template-columns: 1fr;
    }
    .lv2-left {
        padding: 2rem 1.5rem;
    }
    .lv2-right {
        padding: 2rem 1.5rem;
    }
    .lv2-tiles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .lv2-left {
        padding: 1.5rem 1.2rem;
    }
    .lv2-right {
        padding: 1.5rem 1.2rem;
    }
    .lv2-btn {
        width: 100%;
    }
    .lv2-noaccount-actions {
        flex-direction: column;
    }
    .lv2-pub-card {
        padding: 1.5rem 1.2rem;
    }
}

/* ── 2026-11-18 password-reset page: message box and field hint (same palette as .lv2-error) ── */
.lv2-msg { border-radius: var(--radius); padding: .75rem .9rem; font-size: .88rem; line-height: 1.5; margin: 0 0 1.1rem; border: 1px solid transparent; }
.lv2-msg.ok   { background: #e6f4ea; color: #1f6b43; border-color: #bfe3cb; }
.lv2-msg.warn { background: #fff3cd; color: #7a5200; border-color: #f0dfa0; }
.lv2-msg.err  { background: #fbe9ec; color: var(--red); border-color: #f5c6cb; }
.lv2-hint { font-size: .78rem; color: #6c757d; margin-top: .35rem; }
/* 2026-11-18 password-reset: tall card clears the out-of-flow navbar (login card is short and centred, so it never needed this) */
.lv2-wrap.lv2-wrap-nav { padding-top: 40px; align-items: flex-start; }  /* 2026-11-18 was 120, then 78; Nick: higher on both pages, login now uses this class too */
.lv2-wrap-nav .lv2-msg { font-size: .76rem; line-height: 1.45; }  /* 2026-11-18 smaller so the amber notice lines do not wrap */
/* 2026-11-18 password-reset: 50/50 row (last name + driver license), less space above the heading */
.lv2-wrap-nav .lv2-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.lv2-wrap-nav .lv2-right:has(#pr-form) { padding-top: 1.5rem; }  /* reset page only; /login untouched */
@media (max-width: 575px) { .lv2-wrap-nav .lv2-row2 { grid-template-columns: 1fr; } }
/* 2026-11-18 password-reset: Send reset link button = translucent red, 1px red border (same look as the Contact page button) */
#pr-submit.lv2-btn-red { background: rgba(200,16,46,.12); color: #c8102e !important;  /* !important: base .lv2-btn-red forces white */ border: 1px solid #c8102e; box-shadow: none; }
#pr-submit.lv2-btn-red:hover:not(:disabled), #pr-submit.lv2-btn-red:focus:not(:disabled) { background: rgba(200,16,46,.2); color: #c8102e !important; box-shadow: none; }
/* 2026-11-18 password-reset: less space above the amber notice; button left + bot check right on one row */
.lv2-wrap-nav .lv2-right:has(#pr-form) .lv2-sub { margin-bottom: .8rem; }
.pr-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.pr-actions .pr-bot { text-align: right; margin-left: auto; }
/* 2026-11-18 password-reset: no top padding on the "Still locked out?" footer (reset page only; login unchanged) */
.lv2-wrap-nav:has(#pr-form) .lv2-left-footer { padding-top: 0; }
/* 11-25-2026 Nick: 1px navy border on the public client card (public_client.php only uses .lv2-pub-card) */
.lv2-pub-card { border: 1px solid var(--navy); }
/* 11-25-2026 FIX_PUBLIC_CLIENT_ORDER_FOUND_LAYOUT (mockup B), public_client.php only (.lv2-fo).
   source-chat: https://claude.ai/chat/e956755f-d885-4448-86fa-57ed38de7738
   px sizes: the theme root is 20px. Message colours from PALETTE 8; red status from the spec. */
.lv2-pub-card.lv2-fo { max-width: 1180px; /* 11-25-2026 Nick: same width as the login card (.lv2-card); was 960px from .lv2-pub-card */ padding: 0; border: 1px solid var(--navy); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 3px rgba(30,45,90,.08), 0 8px 22px rgba(30,45,90,.08); }
.lv2-fo-head { padding: 32px 40px 28px; background: linear-gradient(135deg, #2c4a8c, #1f3a75); color: #fff; }
.lv2-fo-title { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.lv2-fo-sub { margin-top: 4px; font-size: 17px; color: #dbe4fa; }
.lv2-fo-body { padding: 70px 40px; }  /* 11-25-2026 Nick: even 70px gaps between sections (tested in the console); was 40px 40px, before that 34px 40px 28px with the note inside */
.lv2-fo-note { padding: 0 40px 70px; }  /* 11-25-2026 note box section, between the timeline and the footer; was 0 40px 40px */
.lv2-fo-note .lv2-fo-msg { margin-top: 0; }
/* 11-25-2026 Nick: three equal columns (two when there is no sent date); connector = ::after filling the rest of each column.
   was: .lv2-fo-tl { display: flex; align-items: flex-start; } .lv2-fo-node { display: flex; gap: 14px; align-items: flex-start; flex: none; } */
.lv2-fo-tl { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.lv2-fo-tl.lv2-fo-tl-2 { grid-template-columns: repeat(2, 1fr); }
.lv2-fo-node { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.lv2-fo-node:not(:last-child)::after { content: ""; flex: 1; height: 2px; min-width: 30px; margin: 18px 18px 0 4px; background: var(--navy); opacity: .35; }
.lv2-fo-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; font-size: 16px; box-shadow: 0 0 0 5px #dbe6fa; }
.lv2-fo-dot-bad { background: rgba(200,16,46,.12); color: #c8102e; border: 1px solid #c8102e; box-shadow: 0 0 0 5px rgba(200,16,46,.08); }
.lv2-fo-ln { flex: 1; height: 2px; min-width: 30px; margin: 18px 18px 0; background: var(--navy); opacity: .35; }
.lv2-fo-eyebrow { margin-bottom: 2px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6a7388; }
.lv2-fo-val { font-size: 19px; font-weight: 600; color: var(--navy-dk); line-height: 1.4; }
.lv2-fo-chip { display: inline-block; padding: 3px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.lv2-fo-chip-ok { background: #e6f5ed; color: #1f7a47; }
.lv2-fo-chip-bad { background: #fbe9ec; color: #a30d25; }
.lv2-fo-msg { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.lv2-fo-msg > i { flex: none; font-size: 22.4px; line-height: 1; margin-top: 1px; }
.lv2-fo-msg-info { background: #eef2fa; border: 1px solid var(--navy); color: #22376a; }
.lv2-fo-msg-info > i { color: var(--navy); }
.lv2-fo-msg-amber { background: #fdf3dc; border: 1px solid #d49a00; color: #7a4a00; }
.lv2-fo-msg-amber > i { color: #d49a00; }
.lv2-fo-msg-amber a { color: #c8102e; text-decoration: underline; }
.lv2-fo-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 40px; background: #fafbfe; border-top: 1px solid #bdbdc0; /* 11-25-2026 Nick: darker line; was #e8ecf4 */ }
.lv2-fo-foot-l { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.lv2-fo-foot-l strong { font-size: 18px; color: var(--navy-dk); }
.lv2-fo-foot-r { font-size: 15px; color: #5d6679; }
.lv2-fo-foot-r a { color: var(--navy); text-decoration: underline; }
@media (max-width: 860px) {
    .lv2-fo-title { font-size: 28px; }
    .lv2-fo-tl, .lv2-fo-tl.lv2-fo-tl-2 { grid-template-columns: 1fr; row-gap: 18px; }  /* 11-25-2026 was: flex-direction: column */
    .lv2-fo-node:not(:last-child)::after { display: none; }
    .lv2-fo-ln { flex: none; width: 2px; height: 26px; min-width: 0; margin: 6px 0 6px 18px; }
    .lv2-fo-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .lv2-fo-head { padding: 24px 20px 20px; }
    .lv2-fo-title { font-size: 24px; }
    .lv2-fo-sub { font-size: 15px; }
    .lv2-fo-body { padding: 24px 20px; }  /* 11-25-2026 was 24px 20px 20px */
    .lv2-fo-note { padding: 0 20px 24px; }
    .lv2-fo-foot { padding: 20px; }
    .lv2-fo-foot-l { width: 100%; }
    .lv2-fo-foot-l .lv2-btn { width: 100%; }
    .lv2-fo-val { font-size: 17px; }
}
