
/* Identidade Bolsa nas telas de acesso e ativação. */
body.bolsa-auth {
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background: radial-gradient(ellipse at top right, #e6f5eb, transparent 55%), #f3f8fb;
    color: #123c59;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
.bolsa-auth *, .bolsa-auth *::before, .bolsa-auth *::after {
    box-sizing: border-box;
}
.bolsa-auth .auth-card {
    width: 100%;
    max-width: 490px;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.bolsa-auth .auth-card > .card,
.bolsa-auth-success > .card {
    width: 100%;
    max-width: 490px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dae7ee;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(18, 60, 89, .08);
    animation: none;
}
.bolsa-auth-brand {
    padding: 38px 36px 12px;
    text-align: center;
}
.bolsa-auth-brand img, .bolsa-success-logo img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 28px;
}
.bolsa-auth h1 {
    margin: 0 0 10px;
    color: #123c59;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.6px;
}
.bolsa-auth-brand p {
    margin: 0;
    color: #607888;
    font-size: 15px;
}
.bolsa-auth .card-body {
    padding: 26px 36px 36px;
}
.bolsa-auth .form-label {
    display: block;
    margin-bottom: 8px;
    color: #123c59;
    font-size: 14px;
    font-weight: 700;
}
.bolsa-auth .mb-3 { margin-bottom: 20px; }
.bolsa-auth .input-group {
    display: flex;
    width: 100%;
}
.bolsa-auth .input-group-text { display: none; }
.bolsa-auth .form-control {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 13px 16px;
    background: #fbfdfe;
    color: #233746;
    border: 1px solid #cbdce5;
    border-radius: 11px !important;
    font: inherit;
    font-size: 16px;
}
.bolsa-auth .form-control:focus {
    outline: 2px solid #1d6fa5;
    outline-offset: 2px;
    box-shadow: none;
}
.bolsa-auth a {
    color: #1d6fa5;
    text-underline-offset: 3px;
}
.bolsa-auth a:focus-visible, .bolsa-auth button:focus-visible {
    outline: 3px solid #1d6fa5;
    outline-offset: 4px;
}
.bolsa-auth .btn-primary, .bolsa-auth .btn-success {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 20px;
    background: #27853b;
    color: #fff;
    border: 1px solid #27853b;
    border-radius: 11px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.bolsa-auth .btn-primary:hover, .bolsa-auth .btn-success:hover {
    background: #216f32;
    border-color: #216f32;
}
.bolsa-auth .forgot-password { text-align: right; }
.bolsa-auth .divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0;
    color: #607888;
    font-size: 13px;
}
.bolsa-auth .divider::before, .bolsa-auth .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e1ebf0;
}
.bolsa-auth .register-link, .bolsa-auth .back-home {
    text-align: center;
    font-size: 14px;
}
.bolsa-auth .back-home { margin-top: 24px; }
.bolsa-auth .alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 11px;
    overflow-wrap: anywhere;
}
.bolsa-auth .alert-danger {
    background: #fff1f0;
    color: #8b2923;
    border: 1px solid #f1d2cf;
}
.bolsa-auth .alert-success {
    background: #edf8ef;
    color: #216f32;
    border: 1px solid #d3e9d8;
}
.bolsa-auth .alert-warning {
    background: #fff8e8;
    color: #755716;
    border: 1px solid #eee0bc;
}
.bolsa-auth .btn-close { display: none; }
.bolsa-auth-success .card-header {
    padding: 36px 30px 24px;
    background: #f4fbf6;
    color: #123c59;
    border-bottom: 1px solid #dae7ee;
    text-align: center;
}
.bolsa-auth-success .card-header h4 {
    margin: 0;
    font-size: 25px;
    line-height: 1.3;
}
.bolsa-auth-success .card-body { text-align: center; }
.bolsa-auth-success h5 { font-size: 20px; color: #216f32; }
.bolsa-auth-success p { overflow-wrap: anywhere; color: #607888; }
.bolsa-auth-success .mt-4 { margin-top: 24px; }
@media (max-width: 540px) {
    body.bolsa-auth { padding: 24px 14px; }
    .bolsa-auth-brand { padding: 28px 22px 10px; }
    .bolsa-auth .card-body { padding: 22px; }
    .bolsa-auth h1 { font-size: 26px; }
    .bolsa-auth-success .card-header { padding: 28px 22px 20px; }
    .bolsa-auth-success .card-header h4 { font-size: 23px; }
}

/* Telas de recuperação no padrão Bolsa. */
.bolsa-auth-recovery > .container {
    width: 100%;
    max-width: 490px;
    padding: 0 !important;
    margin: 0;
}
.bolsa-auth-recovery .row { display: block; margin: 0; }
.bolsa-auth-recovery .col-md-6 { width: 100%; padding: 0; }
.bolsa-auth-recovery .card {
    width: 100%;
    max-width: 490px;
    background: #fff;
    border: 1px solid #dae7ee;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(18,60,89,.08) !important;
}
.bolsa-auth-recovery .card-header {
    padding: 32px 24px 24px;
    background: #f4fbf6 !important;
    color: #123c59 !important;
    border-bottom: 1px solid #dae7ee;
    text-align: center;
}
.bolsa-auth-recovery .card-header > i,
.bolsa-auth-recovery .text-center > i { display: none; }
.bolsa-auth-recovery h4 {
    margin: 0;
    font-size: 26px;
    line-height: 1.3;
}
.bolsa-auth-recovery .text-center { text-align: center; }
.bolsa-auth-recovery .text-muted { color: #607888 !important; }
.bolsa-auth-recovery .mb-4 { margin-bottom: 24px; }
.bolsa-auth-recovery .mt-3 { margin-top: 20px; }

/* B032: ajustar logo nas páginas de recuperação. */
.bolsa-auth-recovery .card-header .bolsa-auth-logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 20px;
    object-fit: contain;
}
