html,
body.login {
    min-height: 100%;
    background:
        radial-gradient(circle at 12% 14%, rgba(182, 225, 59, 0.22) 0, rgba(182, 225, 59, 0) 28%),
        radial-gradient(circle at 88% 18%, rgba(255, 90, 53, 0.18) 0, rgba(255, 90, 53, 0) 26%),
        linear-gradient(135deg, #211A15 0%, #15110E 44%, #F5F0E8 44.2%, #FBF8F2 100%);
    color: #211A15;
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    width: min(44vw, 720px);
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(21, 17, 14, 0.2), rgba(21, 17, 14, 0.76)),
        url("../media/brand/deer-up/deer-up-dashboard-v1.png") left 4vw bottom -22px / min(36vw, 460px) auto no-repeat;
}

body.login div#login {
    width: min(420px, calc(100vw - 40px));
    margin: 0 8vw 0 auto;
    padding: clamp(42px, 8vh, 84px) 0 36px;
}

body.login h1 a {
    width: 324px !important;
    max-width: 100%;
    height: 82px !important;
    margin: 0 auto 18px;
    background-image: url("../media/brand/deer-up/steilbergauf-wordmark-primary-v1.png") !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.sba-login-intro {
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid rgba(33, 26, 21, 0.12);
    border-radius: 24px;
    background: rgba(251, 248, 242, 0.92);
    box-shadow: 0 18px 60px rgba(33, 26, 21, 0.14);
}

.sba-login-intro .sba-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #9E321B;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.sba-login-intro .sba-login-eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #B6E13B;
    box-shadow: 0 0 0 5px rgba(182, 225, 59, 0.2);
}

.sba-login-intro strong,
.sba-login-intro small {
    display: block;
}

.sba-login-intro strong {
    color: #211A15;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.sba-login-intro small {
    margin-top: 7px;
    color: rgba(33, 26, 21, 0.68);
    font-size: 13px;
    line-height: 1.45;
}

body.login form {
    margin-top: 0;
    padding: 24px;
    border: 1px solid rgba(33, 26, 21, 0.14);
    border-radius: 26px;
    background: rgba(251, 248, 242, 0.96);
    box-shadow: 0 22px 70px rgba(33, 26, 21, 0.16);
}

body.login label {
    color: #211A15;
    font-size: 13px;
    font-weight: 800;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"] {
    min-height: 46px;
    margin-top: 7px;
    padding: 0 14px;
    border: 1px solid rgba(33, 26, 21, 0.16);
    border-radius: 15px;
    background: #FFFFFF;
    color: #211A15;
    font-size: 15px;
    box-shadow: none;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="checkbox"]:focus {
    border-color: #7EA51B;
    box-shadow: 0 0 0 3px rgba(182, 225, 59, 0.34);
}

body.login .button.wp-hide-pw {
    color: #211A15;
}

body.login .button-primary {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: #211A15;
    color: #F5F0E8;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(33, 26, 21, 0.24);
}

body.login .button-primary:hover,
body.login .button-primary:focus {
    background: #B6E13B;
    color: #211A15;
}

body.login #nav,
body.login #backtoblog,
body.login .privacy-policy-page-link {
    text-align: center;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a,
body.login a {
    color: #7EA51B;
    font-weight: 800;
}

body.login .message,
body.login .notice,
body.login #login_error {
    border-left-color: #FF5A35;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(33, 26, 21, 0.12);
}

body.login .language-switcher {
    opacity: .86;
}

@media (max-width: 900px) {
    html,
    body.login {
        background:
            linear-gradient(180deg, #211A15 0, #15110E 178px, #F5F0E8 178px, #FBF8F2 100%);
    }

    body.login::before {
        inset: 0 0 auto 0;
        width: 100%;
        height: 178px;
        background:
            url("../media/brand/deer-up/deer-up-dashboard-v1.png") right 18px bottom -28px / 150px auto no-repeat;
    }

    body.login div#login {
        margin: 0 auto;
        padding-top: 28px;
    }

    body.login h1 a {
        background-image: url("../media/brand/deer-up/steilbergauf-wordmark-inverted-v1.png") !important;
        height: 72px !important;
    }
}
