/* Authentication shares the quiet blue palette of the private workspace. */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
}
.recovery-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 42% 58%;
}
.recovery-brand {
    background: #102934;
    color: #fff;
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
}
.recovery-brand img {
    width: 185px;
    filter: brightness(0) invert(1);
}
.recovery-brand h1 {
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 24px 0;
}
.recovery-brand p {
    color: #bfd0d9;
    max-width: 340px;
    line-height: 1.8;
}
.recovery-brand small {
    color: #94b0bf;
}
.recovery-eyebrow {
    color: #87bfd4;
    font-size: 11px;
    letter-spacing: 2px;
}
.recovery-content {
    background: #f8fafb;
    display: grid;
    place-content: center;
    padding: 100px 36px;
    position: relative;
}
.recovery-content .back-home {
    position: absolute;
    top: 34px;
    right: 36px;
}
.recovery-content .login-container {
    width: min(440px, 100%);
}
.recovery-content input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #bccdd6;
    border-radius: 6px;
    font: inherit;
}
.recovery-success {
    padding: 20px;
    background: #eaf5ee;
    border: 1px solid #c4e2cf;
    border-radius: 6px;
    color: #285c40;
    line-height: 1.6;
    margin-bottom: 24px;
}
.recovery-link {
    color: #176b91;
    font-weight: 600;
}
.login-button {
    background: #176b91;
    border-radius: 6px;
    box-shadow: none;
}
.login-button:hover {
    background: #125574;
    transform: none;
}
:focus-visible {
    outline: 3px solid #2583af;
    outline-offset: 3px;
}
@media (max-width: 700px) {
    .recovery-layout {
        grid-template-columns: 1fr;
    }
    .recovery-brand {
        padding: 26px;
        gap: 26px;
    }
    .recovery-brand h1 {
        font-size: 32px;
    }
    .recovery-content {
        padding: 90px 24px 40px;
    }
}

/* Shared neutral theme: login, password recovery and logout confirmation. */
:root {
    color-scheme: dark;
    --blue: #e5e5e5;
    --blue-dark: #fff;
    --text: #f5f5f5;
    --gray: #aaa;
    --border: #404040;
}
body {
    background: #080808;
    color: #f5f5f5;
}
.login-brand,
.recovery-brand {
    background: #080808;
    color: #f5f5f5;
}
.login-area,
.recovery-content {
    background: #171717;
    color: #f5f5f5;
}
.login-tag,
.login-heading > span,
.recovery-eyebrow {
    color: #bdbdbd;
}
.login-message h1,
.login-message h1 span,
.login-heading h2,
.login-field label,
.login-benefit strong,
.recovery-brand h1,
.recovery-brand h2 {
    color: #f5f5f5;
}
.login-message p,
.login-heading p,
.login-brand-footer,
.login-benefit small,
.recovery-brand p,
.recovery-brand small {
    color: #b5b5b5;
}
.benefit-check {
    background: #ffffff0d;
    color: #ddd;
    border-color: #ffffff26;
}
.back-home,
.login-help > span,
.input-icon,
.password-toggle {
    color: #aaa;
}
.back-home:hover,
.password-label a,
.login-help a,
.recovery-link {
    color: #ededed;
}
.input-wrapper {
    background: #101010;
    border: 1px solid #444;
    border-radius: 10px;
}
.input-wrapper:focus-within {
    border-color: #aaa;
    box-shadow: 0 0 0 3px #ffffff12;
}
.login-field input {
    background: transparent;
    color: #f5f5f5;
}
.login-field input::placeholder {
    color: #858585;
}
.input-icon svg,
.password-toggle svg {
    fill: currentColor;
}
.login-help {
    border-color: #333;
}
.login-button {
    background: #e6e6e6;
    color: #111;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    box-shadow: none;
    font-weight: 600;
    justify-content: center;
    min-height: 50px;
    transition:
        background 0.2s,
        transform 0.2s;
}
.login-button:hover {
    background: #fff;
    transform: translateY(-1px);
}
.login-button span:empty {
    display: none;
}
.recovery-content {
    min-width: 0;
}
.recovery-content .login-container {
    width: 100%;
    max-width: 440px;
    min-width: 0;
}
.recovery-content input:not([type='hidden']) {
    background: #101010;
    color: #f5f5f5;
    border-color: #444;
    border-radius: 10px;
}
.recovery-card {
    background: #202020;
    border-color: #404040;
}
.recovery-alert {
    background: #262626;
    color: #ddd;
    border-color: #444;
}
.logout-heading {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.2;
    margin-bottom: 16px;
}
.logout-cancel {
    display: block;
    margin-top: 16px;
    padding: 14px 18px;
    border: 1px solid #555;
    border-radius: 999px;
    text-align: center;
    color: #ededed;
    background: transparent;
    font-weight: 600;
    line-height: 1.5;
}
.logout-cancel:hover {
    background: #2b2b2b;
}
.recovery-brand h2 {
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 24px 0;
}
:focus-visible {
    outline: 2px solid #c7c7c7;
    outline-offset: 4px;
}
@media (max-width: 1000px) {
    .recovery-layout {
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    }
    .recovery-brand {
        padding: 40px 28px;
    }
    .recovery-content {
        padding: 100px 28px 48px;
    }
}
@media (max-width: 780px) {
    .recovery-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .recovery-brand {
        padding: 32px 24px;
        gap: 26px;
    }
    .recovery-brand h1,
    .recovery-brand h2 {
        font-size: 32px;
        letter-spacing: -1px;
        margin: 18px 0;
    }
    .recovery-content {
        padding: 80px 24px 40px;
        place-content: start center;
    }
}
@media (min-width: 781px) {
    .recovery-content .back-home {
        right: 120px;
    }
}
