body.login-v3-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: #f1f3f7;
    color: #1b2440;
}

body.login-v3-page,
body.login-v3-page p,
body.login-v3-page a,
body.login-v3-page label,
body.login-v3-page input,
body.login-v3-page button,
body.login-v3-page select {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

body.login-v3-page #contents {
    flex: 1 1 auto;
    min-height: 460px;
    padding: 2.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f7;
}

body.login-v3-page #login {
    width: 100%;
    max-width: 402px;
    margin: 0 auto;
}

body.login-v3-page .login-card {
    width: 100%;
    max-width: 402px;
    background: #fff;
    border: 0.5px solid #e6e9ef;
    border-radius: 20px;
    box-shadow: 0 14px 44px rgba(20, 28, 48, 0.10);
    padding: 44px 36px;
    box-sizing: border-box;
}

body.login-v3-page .login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

body.login-v3-page .login-logo-svg {
    display: block;
    width: 230px;
    height: 58px;
    max-width: 100%;
}

body.login-v3-page form#loginForm {
    margin: 0;
}

body.login-v3-page form#loginForm label {
    display: block;
    margin: 0 0 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

body.login-v3-page .login-input-wrap {
    position: relative;
    margin-bottom: 18px;
}

body.login-v3-page .login-password-wrap {
    margin-bottom: 26px;
}

body.login-v3-page .login-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #98a2b3;
    pointer-events: none;
}

body.login-v3-page form#loginForm input.login-input-box {
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0 14px 0 42px;
    border: 1px solid #e2e6ec;
    border-radius: 11px;
    background: #fbfcfd;
    color: #1b2440;
    font-size: 14px;
    font-weight: 500;
    line-height: 46px;
    box-sizing: border-box;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

body.login-v3-page .login-password-wrap input.login-input-box {
    padding-right: 44px;
}

body.login-v3-page form#loginForm input.login-input-box::placeholder {
    color: #b6bcc8;
}

body.login-v3-page form#loginForm input.login-input-box:focus {
    outline: none;
    border-color: #cc1f1a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(204, 31, 26, 0.14);
}

body.login-v3-page .login-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    line-height: 0;
}

body.login-v3-page .login-eye:hover,
body.login-v3-page .login-eye:focus {
    color: #cc1f1a;
    outline: none;
}

body.login-v3-page .login-eye-closed {
    display: none;
}

body.login-v3-page .login-eye.is-visible .login-eye-open {
    display: none;
}

body.login-v3-page .login-eye.is-visible .login-eye-closed {
    display: block;
}

body.login-v3-page .button,
body.login-v3-page input.button,
body.login-v3-page button.button {
    height: 48px;
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    box-shadow: none;
    cursor: pointer;
}

body.login-v3-page .button.login-primary,
body.login-v3-page input.button.login-primary {
    width: 100%;
    padding: 0 16px;
    background: #232f4e;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 48px;
    text-align: center;
    transition: background 0.15s ease;
}

body.login-v3-page .button.login-primary:hover,
body.login-v3-page input.button.login-primary:hover,
body.login-v3-page .button.login-primary:focus,
body.login-v3-page input.button.login-primary:focus {
    background: #1a2440;
    color: #fff;
    outline: none;
}

body.login-v3-page .login-site-label {
    display: block;
    margin: -12px 0 20px;
    padding: 9px 12px;
    border-radius: 11px;
    background: #f8fafc;
    border: 1px solid #e6e9ef;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

body.login-v3-page .login-meta {
    margin: 0 0 18px;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

body.login-v3-page .login-meta a,
body.login-v3-page a,
body.login-v3-page a:link,
body.login-v3-page a:visited {
    color: #cc1f1a;
    text-decoration: none;
    font-weight: 600;
}

body.login-v3-page .login-meta a:hover,
body.login-v3-page a:hover {
    text-decoration: underline;
}

body.login-v3-page .login-inline-message {
    margin: -14px 0 22px;
}

body.login-v3-page p.failure,
body.login-v3-page p.success {
    margin: 0;
    padding: 11px 12px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

body.login-v3-page p.failure {
    background: #fff1f0;
    border: 1px solid #fecaca;
    color: #b42318;
}

body.login-v3-page p.success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #067647;
}

body.login-v3-page #footerBlock {
    width: min(100%, 402px);
    margin: 0 auto;
    padding: 0 1rem 0.85rem;
    color: #98a2b3;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

body.login-v3-page #footerBlock span,
body.login-v3-page #footerBlock a {
    color: inherit;
}

body.login-v3-page #popupMask {
    background: rgba(20, 28, 48, 0.42);
}

body.login-v3-page #popupContainer {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(20, 28, 48, 0.28);
}

body.login-v3-page #popupInner {
    border: 0;
    background: #fff;
}

@media (max-width: 520px) {
    body.login-v3-page #contents {
        padding: 1rem;
    }

    body.login-v3-page .login-card {
        padding: 34px 22px;
        border-radius: 18px;
    }

    body.login-v3-page .login-logo-wrap {
        margin-bottom: 28px;
    }
}
