.login-page-v2 {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #181c32;
    background: #0b1b4d;
}

.login-page-v2 *,
.login-page-v2 *:before,
.login-page-v2 *:after {
    box-sizing: border-box;
}

.login-v2-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #0b1b4d;
    background-image: url("../img/FundoLogin.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-v2-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
}

.login-v2-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 36px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(7, 20, 51, 0.28);
}

.login-v2-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.login-v2-logo img {
    display: block;
    max-width: 210px;
    max-height: 88px;
    width: auto;
    height: auto;
}

.login-v2-title {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #181c32;
}

.login-v2-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #a1a5b7;
}

.login-v2-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    background: #fff;
    color: #181c32;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.login-v2-sso:hover,
.login-v2-sso:focus {
    background: #f9f9fb;
    color: #181c32;
    text-decoration: none;
    outline: 2px solid #f1631c;
    outline-offset: 2px;
}

.login-v2-sso-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.login-v2-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #a1a5b7;
    font-size: 13px;
}

.login-v2-divider:before,
.login-v2-divider:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e4e6ef;
}

.login-v2-divider span {
    padding: 0 12px;
    white-space: nowrap;
}

.login-v2-form {
    margin: 0;
}

.login-v2-field {
    margin-bottom: 16px;
}

.login-v2-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3f4254;
}

.login-v2-input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    background: #fff;
    color: #181c32;
    font-size: 14px;
}

.login-v2-input:focus {
    border-color: #f1631c;
    outline: 2px solid #f1631c;
    outline-offset: 0;
}

.login-v2-forgot {
    display: flex;
    justify-content: flex-end;
    margin: 4px 0 20px;
}

.login-v2-forgot a {
    color: #f1631c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.login-v2-forgot a:hover,
.login-v2-forgot a:focus {
    color: #d56026;
    text-decoration: underline;
    outline: none;
}

.login-v2-submit,
.login-v2-card .login-v2-submit {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: #f1631c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
}

.login-v2-submit:hover,
.login-v2-submit:focus {
    background: #d56026;
    color: #fff;
    outline: 2px solid #b24d1c;
    outline-offset: 2px;
}

a.login-v2-submit {
    text-align: center;
    line-height: 22px;
    text-decoration: none;
}

.login-v2-errors {
    margin-bottom: 12px;
    color: #f1416c;
    font-size: 13px;
}

.login-v2-errors .validation-summary-errors ul,
.login-page-v2 .field-validation-error {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    color: #f1416c;
}

.login-v2-back {
    display: inline-block;
    margin-top: 18px;
    color: #7e8299;
    font-size: 13px;
    text-decoration: none;
}

.login-v2-back:hover,
.login-v2-back:focus {
    color: #f1631c;
    text-decoration: underline;
}

@media (min-width: 992px) {
    .login-v2-main {
        justify-content: flex-end;
        padding-right: 10%;
    }
}

@media (max-width: 576px) {
    .login-v2-card {
        padding: 28px 20px 24px;
        border-radius: 12px;
    }

    .login-v2-title {
        font-size: 24px;
    }

    .login-v2-logo img {
        max-width: 180px;
    }
}
