html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    max-width: 100%;
    width: 100%;
}

body {
    background: linear-gradient(
        180deg,
        rgb(52, 77, 152) 0%,
        rgb(74, 99, 180) 89%,
        rgb(95, 122, 208) 100%
    );
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.form-signin {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    margin: auto;
} 

.erro{
    color: rgb(251 164 164);
    font-size: 16px;
    font-weight: 500;
    text-shadow: 1px 1px #0a0a0a;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

/* .form-signin input[type="password"] {
    margin-bottom: 10px;
} */

.login-txt {
    color: #fff !important;
    text-shadow: 1px 1px #0a0a0a;
    font-size: 16px;
    padding: 10px 0px;
}

.blank-space{
    height: 10px;
    width: 100%;
}

.footer{
    height: 100%;
    width: 100%;
}

.white-txt {
    color: #fff;
    text-shadow: 1px 1px #0a0a0a;
}

.white-txt-title{
    color: #fff;
    text-shadow: 1px 1px #0a0a0a;
    font-size: 22px;
}

.form-signin input[type="password"] {
    border-radius: 6px;
}

.login-btn-nd {
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
    background: #34a371;
    text-shadow: 1px 1px 1px #2e2e2e;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 55px;
}

.login-btn-nd:hover,.login-btn-nd:active,.login-btn-nd:focus{
    background: #277552;
    text-shadow: 1px 1px 1px #2e2e2e;
    color: #fff;
    font-size: 20px;
    border-color: darkgreen;
}

.login-btn-nd:disabled {
    background: #8abfa4;
    color: #f0f0f0;
    border-color: #6da685;
    text-shadow: none;
    cursor: not-allowed;
    opacity: 0.8;
}

.div-logo {
    margin-top: 100px;
}


.logo-nd {
    filter: drop-shadow(1px 1px 1px #000);
    -webkit-filter: drop-shadow(1px 1px 1px #000);
    max-width: 180px;
    max-height: 180px;
}


.logo-avaliacao {
    filter: drop-shadow(1px 1px 1px #000);
    -webkit-filter: drop-shadow(1px 1px 1px #000);
    max-width: 350px;
    width: 30%;
    height: auto;
}

.logo-redefinicao {
    filter: drop-shadow(1px 1px 1px #000);
    -webkit-filter: drop-shadow(1px 1px 1px #000);
    max-width: 175px;
    width: 10%;
    height: auto;
}

.logo-nd2 {
    filter: drop-shadow(1px 1px 1px #000);
    -webkit-filter: drop-shadow(1px 1px 1px #000);
    max-width: 220px !important;
    width: 100%;
    height: auto;
}

.instrucao-div {
    padding: 10px 20px;
    height: auto;
    max-width: 100%;
}

.instrucao-txt {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px #0a0a0a;
}

.instrucao-txt-sub{
    color: #fff;
    font-size: 15px;
    text-shadow: 0 0 3px rgba(0,0,0,0.6);
    text-align: justify;
    margin-bottom: 0.75rem;
}

.instrucao-txt-sub a {
    text-shadow: none !important;
}

.instrucao-txt-sub .btn {
    margin-left: 5px;
    vertical-align: baseline;
}

.fa-info-circle{
    color: #fff;
    text-shadow: 1px 1px #0a0a0a;
    margin-right: 10px;
}

.fa-chevron-right{
    margin-right: 10px;
}

.link-modal, .link-modal:hover{
    color: #fff;
    font-weight: bold;
}

.modal-content {
    background-color: #fff; /* Corpo da modal branco */
    color: #000; /* Texto preto no corpo */
    text-shadow: none;
}

.modal-header {
    background-color: #314ac4; /* Azul no cabeçalho */
    color: #fff; /* Texto branco */
    border-bottom: 1px solid #ccc; /* Linha separadora */
}

.modal-title {
    font-weight: 700;
    text-shadow: 1px 1px #0a0a0a;
}

/* Força o texto para preto */

.modal-body, 
.modal-body * {
    color: #000 !important;
}

.modal-footer {
    background-color: #fff; /* Fundo branco */
    border-top: 1px solid #ccc; /* Linha separadora */
}

.btn-close {
    color: #fff !important;
    filter: invert(1);
}

.mt-login{
    margin-top: 150px;
}

.transparent-card {
    background-color: transparent;
    border: 1px solid #fff; /* Bordas brancas */
}

.custom-underlined {
    text-decoration: underline;
    text-decoration-thickness: 2px; /* Ajuste o valor conforme desejado */
    text-underline-offset: 5px; /* Ajuste o valor conforme desejado */
}

.custom-modal-xl {
    max-width: min(1200px, 95vw); /* Largura máxima, com margem em telas estreitas */
}

.custom-mailto {
    color: rgb(255, 255, 255); /* Cor do texto branco */
    text-decoration: none; /* Remova a sublinhado padrão dos links */
}

/* Altera a cor do texto do link quando o mouse passa sobre ele */
.custom-mailto:hover {
    color: rgb(0, 89, 223) !important; /* Cor do texto ao passar o mouse */
}

.row {
    display: flex;
    align-items: stretch;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    flex-grow: 1;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    position: relative;
    min-height: 80px;
}

/* Estilo para reCAPTCHA com erro */
.recaptcha-error {
    border: 2px solid #dc3545 !important;
    border-radius: 6px;
    padding: 8px;
    background-color: #f8d7da;
}

/* Ajuste para o iframe do reCAPTCHA */
.g-recaptcha {
    transition: all 0.3s ease;
}

.g-recaptcha iframe {
    border-radius: 4px;
}

.hiddenRecaptcha {
    display: none;
}

/* ── reCAPTCHA do modal de cadastro ───────────────────────────────────────────
   O widget tem 304x78 FIXOS e nao encolhe. Medido: abaixo de ~348px de largura
   de modal ele estourava e criava rolagem lateral DENTRO do modal (320px e
   344px reproduziam).

   A escala vale em TODAS as larguras, e nao so no celular: comparados os tres
   tamanhos lado a lado (pagina de comparacao, 26/08/2026), o widget a 0,8 fica
   igualmente legivel e menos dominante num formulario de campos full-width.
   Manter dois tamanhos so criaria um salto visual no breakpoint.

   ⚠️ Descartado o size:'compact' do proprio reCAPTCHA (164x144): ele ganha
   79px de largura que nao faltam e cobra 82px de ALTURA, que e o recurso
   escasso num modal longo. E o tamanho e parametro do render(), entao alternar
   por breakpoint exigiria recriar o widget — descartando um token ja resolvido.

   Sem overflow:hidden de proposito — o desafio de imagens do reCAPTCHA e
   inserido no body, mas se algum dia vier dentro do container um clip o
   cortaria pela metade. As medidas ja batem, entao nao ha o que esconder. */
.recaptcha-caixa {
    /* Medidas ja escaladas (304x0,8 e 78x0,8). A caixa carrega o tamanho VISUAL
       porque transform nao reflui: o filho continua 304x78 e so aparece menor. */
    width: 243px;
    height: 62px;
}

.recaptcha-escala {
    transform: scale(.8);
    transform-origin: 0 0;
}

#recaptcha-error {
    margin-top: 10px;
    text-align: center;
}

.required {
    color: #f00 !important;
}

.url-link {
    color: #003cff !important;
}

.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
    background-color: #adb5bd; /* Cinza quando desativado */
    border-color: #adb5bd;
}

.form-switch .form-check-input:not(:checked)::before {
    background-color: #f8f9fa; /* Bolinha branca quando desativado */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Sombra na bolinha */
}

.form-switch .form-check-input:checked {
    background-color: #0d6efd; /* Azul primary quando ativado */
    border-color: #0d6efd;
}

.form-switch .form-check-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Sombra azul no foco */
}

.form-check-label {
    cursor: pointer;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

@media only screen and (max-width: 667px) {

    .row{
        max-width: 100% !important;
    }
    .mt-login{
        margin-top: 10px;
    }

    .instrucao-div{
        margin: 0 auto;
    }
}

@media only screen and (max-width: 410px) {
    .login-btn-nd{
        padding: 8px 55px;
    }
}