/* Páginas de conta (login, recuperação de senha, 404) — complementos ao tema BP One. */
html, body {
    margin: 0;
    min-height: 100%;
    background: #f4f3ef;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.bp-shell .login-card .field-validation-error,
.bp-shell .login-card .validation-summary-errors {
    display: block;
    margin-top: 6px;
    color: #c83232;
    font-size: 11px;
    font-weight: 700;
}

.bp-shell .login-card .validation-summary-errors ul {
    margin: 0;
    padding-left: 16px;
}

.bp-shell .login-alert {
    margin: 14px 0 0;
    padding: 11px 14px;
    background: #fae0e0;
    border: 1px solid #e3b1b1;
    color: #a02020;
    font-size: 12px;
    font-weight: 700;
}

.bp-shell .login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 18px;
    font-size: 12px;
}

.bp-shell .login-row label {
    display: flex;
    gap: 7px;
    align-items: center;
    margin: 0;
    font-weight: 600;
    cursor: pointer;
}

.bp-shell .login-row input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.bp-shell .login-row a,
.bp-shell .login-back a {
    color: #575a55;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #c9c8c1;
}

.bp-shell .login-row a:hover,
.bp-shell .login-back a:hover {
    color: #111;
    border-bottom-color: #111;
}

.bp-shell .login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    color: #9a9d97;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bp-shell .login-divider::before,
.bp-shell .login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #deddd7;
}

.bp-shell .ms-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px 17px;
    border: 1px solid #cfcec8;
    background: #fff;
    color: #242823;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bp-shell .ms-login-btn:hover {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(255, 225, 0, .35);
}

.bp-shell .ms-logo {
    display: grid;
    grid-template-columns: 9px 9px;
    grid-template-rows: 9px 9px;
    gap: 1.5px;
    flex: 0 0 auto;
}

.bp-shell .ms-logo i:nth-child(1) { background: #f25022; }
.bp-shell .ms-logo i:nth-child(2) { background: #7fba00; }
.bp-shell .ms-logo i:nth-child(3) { background: #00a4ef; }
.bp-shell .ms-logo i:nth-child(4) { background: #ffb900; }

.bp-shell .login-back {
    margin-top: 18px;
    font-size: 12px;
}

/* Página 404 */
.bp-shell .nf-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #242823;
    color: #fff;
    text-align: center;
    padding: 24px;
}

.bp-shell .nf-code {
    font-size: 110px;
    font-weight: 900;
    letter-spacing: -4px;
    color: #ffe100;
    line-height: 1;
}

.bp-shell .nf-wrap h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

.bp-shell .nf-wrap p {
    margin: 0;
    max-width: 460px;
    color: #9da49b;
    font-size: 13px;
    line-height: 1.6;
}

.bp-shell .nf-wrap .primary {
    margin-top: 18px;
    text-decoration: none;
    display: inline-block;
}

/* Estado de carregamento dos botões do login (enviar / Microsoft). */
.btn-loading {
    opacity: .75;
    cursor: wait !important;
    pointer-events: none;
}

.btn-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 9px;
    vertical-align: -2px;
    border: 2px solid rgba(17, 17, 17, .25);
    border-top-color: #111;
    border-radius: 50%;
    animation: bp-btn-spin .7s linear infinite;
}

.ms-login-btn .btn-spinner {
    border-color: rgba(36, 40, 35, .25);
    border-top-color: #242823;
}

@keyframes bp-btn-spin {
    to { transform: rotate(360deg); }
}
