:root {
    color-scheme: dark;

    --static-light-color: #fff;
    --static-dark-color: #000;
}

body {
    background: #111322;
    color: #b9c0d4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

a {
    color: #0373ff;
}

hr {
    border: none;
    border-top: 1px dashed #30374f;
    margin: 30px 0 !important;
    width: 100%;
}

/* ==========================================================================
   Section: Login Left
   ========================================================================== */

.login-left {
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 65px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #0b2a70;
    background: linear-gradient(180deg, rgba(0, 78, 235, .4) .01%, rgba(0, 78, 235, .1) 94.18%);
    text-align: center;
}

.login-left>div {
    max-width: 720px;
    margin: 0 auto;
}

.login-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.login-left h2 {
    color: var(--static-light-color);
    font-size: 28px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 15px;
}

.login-left .icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Mobile Styles */

@media(max-width:768px) {
    .login-left {
        display: none;
    }
}

/* ==========================================================================
   Section: Login Form
   ========================================================================== */

#login {
    padding: 0;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.login form {
    background: transparent;
    border: none;
    position: relative;
    padding: 20px 10px 85px 10px !important;
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.login .wp-login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.login .wp-login-logo a {
    background: none !important;
    margin: 0;
    display: flex;
    justify-content: center;
    width: auto;
    height: auto;
    color: var(--static-light-color);
    transition: color 0.15s linear;
}

.login .wp-login-logo a:hover, .login .wp-login-logo a:active, .login .wp-login-logo a:focus {
    color: #0373ff !important;
}

.wp-login-logo .svg-icon {
    width: 160px;
    height: auto;
}

.login #nav a {
    color: #0373ff !important;
    font-weight: 500;
}

p#backtoblog {
    display: none;
}

.login #nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: #b9c0d4;
    margin-top: 10px;
    font-size: 15px !important;
    gap: 5px;
}

.login #nav a:hover {
    transition: color 0.15s linear;
}

.login #nav a:hover, .login #nav a:active, .login #nav a:focus {
    color: var(--static-light-color) !important;
}

p.forgetmenot {
    width: 100%;
    float: none !important;
    margin-bottom: 20px !important;
}

.login #nav a:hover, .login #backtoblog a:hover, .login h1 a:hover {
    color: #b9c0d4;
}

p.submit {
    width: 100%;
    display: flex;
}

.wp-core-ui .button.focus, .wp-core-ui .button:focus, .wp-core-ui .button-secondary:focus {
    color: #0373ff;
    border-color: #0373ff;
}

.login .button-primary {
    float: none !important;
    transition: border 0.15s linear;
}

.button-primary {
    width: 100%;
    border-radius: 5px !important;
    background: #0373ff !important;
    border: 1px solid #0373ff !important;
    font-weight: 500;
    padding: 16.5px !important;
    line-height: 1 !important;
    font-size: 15px !important;
}

.wp-core-ui .button, .wp-core-ui .button-secondary {
    border-color: #0373ff;
}

.wp-core-ui .button-primary.hover, .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary.focus, .wp-core-ui .button-primary:focus {
    border-color: var(--static-light-color) !important;
    color: var(--static-light-color);
}

.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary-disabled, .wp-core-ui .button-primary.disabled {
    background-color: #111322 !important;
    border-color: #2c2c2c !important;
    color: #2c2c2c !important;
}

.login .forgetmenot label, .login .pw-weak label {
    font-size: 13px !important;
}

.login form .input, .login input[type="text"], .login input[type="password"] {
    font-size: 20px;
}

.login form .input, .login input[type="text"], .login form input[type="checkbox"] {
    background: transparent;
    border: 1px solid #404968;
    color: var(--static-light-color) !important;
}

input {
    transition: box-shadow 0.15s linear, border 0.15s linear;
}

input[type="checkbox"], input[type="radio"] {
    border: 1px solid #404968;
}

input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"] {
    padding: 11px 12px !important;
}

.login label {
    font-size: 13px;
}

.user-pass-wrap {
    margin-top: 10px;
}

.login .button.wp-hide-pw {
    height: 50px;
}

input#wp-submit {
    color: var(--static-light-color);
}

.login form::before {
    content: "Log in to your account";
    color: var(--static-light-color);
    text-align: center;
    font-size: 28px;
    padding-bottom: 20px;
    display: flex;
    font-weight: 500;
    justify-content: center;
}

.login #registerform::before {
    content: "Create an account" !important;
}

.login #lostpasswordform::before {
    content: "Reset your password" !important;
}

button.wp-generate-pw {
    display: none !important;
}

.notice.notice-info.message.register {
    display: none;
}

.login .button.wp-hide-pw:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="email"]:focus, input[type="month"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, input[type="week"]:focus, input[type="checkbox"]:focus, input[type="radio"]:focus, select:focus, textarea:focus {
    border-color: #0373ff !important;
    box-shadow: 0 0 0 1px #0373ff !important;
}

input[type="checkbox"]:checked::before {
    filter: saturate(2);
}

p#reg_passmail {
    display: none !important;
}

/* Nextend Login : Social Buttons */

#nsl-custom-login-form-main {
    position: absolute;
    width: 100%;
    display: flex;
    bottom: 0;
}

.nsl-container {
    display: flex !important;
    padding: 0 !important;
    width: calc(100% - 20px);
}

.nsl-container-buttons {
    display: flex !important;
    width: 100%;
    padding: 8px 0 !important;
}

.nsl-container-buttons a {
    border: 1px solid #fff9 !important;
    border-radius: 5px;
    background: transparent;
    padding: 15px 30px;
    transition: border 0.15s linear;
}

.nsl-container-buttons a:hover, .nsl-container-buttons a:active, .nsl-container-buttons a:focus {
    border-color: #0373ff !important;
}

.nsl-button {
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    flex-wrap: wrap;
    justify-content: center;
}

.nsl-button-svg-container {
    padding: 0 !important;
}

.nsl-button-label-container {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    color: var(--static-light-color);
    transition: color 0.15s linear;
}

/* Wordfence 2FA Styles */

#wfls-prompt-overlay {
    background: #111322;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#wfls-prompt-overlay::before {
    content: "Two-factor authentication";
    color: var(--static-light-color);
    text-align: center;
    font-size: 28px;
    padding-bottom: 20px;
    display: flex;
    font-weight: 500;
    justify-content: center;
}

#wfls-prompt-wrapper {
    flex-grow: 0;
    -webkit-flex-grow: 0;
}

#wfls-prompt-overlay label {
    font-size: 0;
}

#wfls-prompt-overlay label:before {
    content: "2FA Code";
    font-size: 13px;
    margin-right: 2px;
}

/* Notices */

.login .message, .login .notice, .login .success {
    background: #181a2d;
    max-width: 400px;
    margin: 20px auto;
}

/* Recaptcha Badge */

.grecaptcha-badge {
    filter: invert(0.9) hue-rotate(180deg) brightness(0.9) contrast(1.1);
    box-shadow: none !important;
    border: 1px solid #abb2cb !important;
    border-right: none !important;
    border-radius: 5px !important;
}

/* Captcha: Cloudflare Turnstile */

.cf-turnstile {
    margin: 0 !important;
    border-right: 1px solid #797979;
    display: flex;
}

.cf-turnstile > div {
    width: 100%;
    display: flex;
}

/* Mobile Styles */

@media(max-width:768px) {

    #login {
        width: 100%;
        padding: 0 10px;
    }

    .login form {
        padding: 20px 20px 80px 20px !important;
        border: 1px solid #30374f;
        border-radius: 15px;
        margin-top: 30px;
        background: linear-gradient(0deg, #30374f1f, #111322) !important;
    }

    .login form::before {
        font-size: 21px;
    }

    .login #nav {
        margin-top: 25px;
        font-size: 16px !important;
    }

    .nsl-container {
        width: calc(100% - 40px);
    }

}

/* Extra Small Screen Size */

@media(max-width:299px) {
    .login form {
        padding: 20px 20px 115px 20px !important;
    }

    .nsl-button-label-container {
        white-space: pre-wrap !important;
    }
}