/* Auth routes use the shared preference and the same palette as the landing page. */
html[data-bmf-dark-active="true"] .bmf-auth-page {
    color-scheme: dark;
    background: #191a23;
    color: #f6eff4;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-header {
    background: #22222d;
    border-color: #44404e;
    color: #f6eff4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-header > a:not(.home-logo) {
    color: #e9b5cc;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-header > a:not(.home-logo):hover {
    color: #f8d4e5;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .home-logo > span:first-child,
html[data-bmf-dark-active="true"] .bmf-auth-page .home-logo > span:last-child {
    color: #f9f0f6 !important;
    -webkit-text-fill-color: #f9f0f6 !important;
    background: none !important;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .home-logo > span:nth-child(2) {
    color: #ec88b2 !important;
    -webkit-text-fill-color: #ec88b2 !important;
    background: none !important;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-container {
    background: #191a23;
    color: #f6eff4;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card {
    background: #23242f;
    color: #f6eff4;
    border-color: #44404e;
    box-shadow: 0 16px 46px rgba(0, 0, 0, .22);
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card :is(h1, h2, h3) {
    color: #f6eff4;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card :is(p, small) {
    color: #c9bdc8;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-eyebrow {
    color: #ec88b2;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card :is(.bmf-post-field, .bmf-post-field__label, .home-login-form label) {
    color: #f0e7ed;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card :is(input, select, textarea) {
    background-color: #1c1d27;
    color: #f6eff4;
    border-color: #52505f;
    color-scheme: dark;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card :is(input, textarea)::placeholder {
    color: #b6a9b7;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card :is(input, select, textarea):focus-visible {
    border-color: #ea88af;
    outline-color: rgba(234, 136, 175, .34);
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card a,
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card .bmf-auth-recovery-secondary,
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card .bmf-auth-resend button {
    color: #f0a5c5;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card a:hover,
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card .bmf-auth-recovery-secondary:hover,
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card .bmf-auth-resend button:hover {
    color: #f9c1d8;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card .home-login-form__submit {
    background: #b8587d;
    border-color: #b8587d;
    color: #fff;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-card .home-login-form__submit:hover {
    background: #ca7093;
    border-color: #ca7093;
}
html[data-bmf-dark-active="true"] .bmf-auth-page .bmf-auth-recovery-status {
    color: #c9bdc8;
}
