/* ============================================================
   Shared sign-in screens — Views/Account/LogOn.aspx and
   Views/RequestDonation/SignIn.aspx, both driven by
   Content/scripts/common/sign-in.js.
============================================================ */
:root {
    --signin-cta: #286090;
    --signin-muted-line: #c8d1d8;
    --signin-disabled: #9aa6ad;
    --signin-success-fg: #1f8a5b;
    --signin-success-bg: #e6f4ec;
    --signin-success-border: #bfe3d0;
    --signin-info-bg: #e9f1f8;
}

/* ---- Card padding ---- */
@media (min-width: 601px) {
    .body {
        padding: 24px 26px 30px;
    }
}

/* ---- Screens: one card, one visible panel ---- */
.screen-view {
    display: none;
}

.screen-view.is-shown {
    display: block;
}

/* ---- Titles ---- */
.screen-view h1.title {
    margin-bottom: 18px;
}

.screen-view h1.title.title--lede {
    margin-bottom: 8px;
}

.lede {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 18px;
}

.lede--center {
    text-align: center;
}

.ink-strong {
    color: var(--navy);
}

/* ---- Chooser ---- */
.choice-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.btn-outline {
    height: 48px;
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.btn-oauth:hover,
.btn-outline:hover {
    background: var(--signin-cta);
    border-color: var(--signin-cta);
    color: #fff;
}

.icon {
    font-size: 16px;
}

.link-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
    text-align: center;
}

.link-stack .link-muted {
    line-height: 1.45;
}

.link-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 48px;
}

.link-muted {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color .15s ease;
}

.link-muted:hover {
    color: var(--signin-cta);
    font-weight: 600;
    text-decoration: underline;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--signin-muted-line);
    flex: none;
}

.link-blue {
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.link-disabled {
    color: var(--signin-disabled);
    font-weight: 600;
    text-decoration: none;
    cursor: not-allowed;
}

.mb-16 {
    margin-bottom: 16px;
}

.welcome__check--info {
    background: var(--signin-info-bg);
    color: var(--signin-cta);
}

.notice-success {
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid var(--signin-success-border);
    border-radius: 8px;
    background: var(--signin-success-bg);
    color: var(--signin-success-fg);
    font-size: 13px;
    line-height: 1.5;
}

/* ---- Forgot-password link (moved here from existing-account.css) ---- */
.forgot-password-link {
    text-align: right;
    margin-bottom: 11px;
}

.forgot-password-link a {
    color: var(--blue);
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    cursor: pointer;
}

/* ---- One-time code (moved here from existing-account.css, resized to the mockup) ---- */
.otp-digits {
    display: flex;
    gap: 9px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--field-text, #16242e);
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    outline: none;
}

.otp-digit:focus {
    border-color: var(--blue);
}

.otp-link {
    text-align: center;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--muted);
}

.otp-link a {
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
}

.otp-link a.link-disabled {
    color: var(--signin-disabled);
    cursor: not-allowed;
}

/* ============================================================
   Responsive — same 600px breakpoint as card-base.css
============================================================ */
@media (max-width: 600px) {
    .otp-digits {
        gap: 7px;
    }

    .otp-digit {
        width: 42px;
        height: 50px;
        font-size: 20px;
    }

    .link-stack,
    .link-row {
        margin-top: 32px;
    }

    .link-row {
        gap: 14px;
    }
}
