:root {
    --verde-900: #064f2e;
    --verde-800: #075f37;
    --verde-700: #087443;
    --verde-600: #12864f;
    --verde-100: #eaf7f0;
    --texto: #25312b;
    --texto-suave: #647069;
    --borda: #d5dfd9;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--texto); }

.pagina-recuperacao {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.12), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(35,174,99,.28), transparent 31%),
        linear-gradient(145deg, #043f26 0%, #08643a 48%, #0b7946 100%);
}

.recuperacao-shell { width: 100%; max-width: 500px; }

.card-recuperacao {
    overflow: hidden;
    background: rgba(255,255,255,.99);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0,28,16,.36);
}

.recuperacao-topo {
    position: relative;
    padding: 22px 28px 19px;
    text-align: center;
    background: linear-gradient(180deg, #fff, #fbfdfc);
    border-bottom: 1px solid #e7eee9;
}

.recuperacao-topo::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 82px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--verde-800), #39a967);
}

.recuperacao-topo img { max-width: 210px; max-height: 66px; object-fit: contain; }
.recuperacao-conteudo { padding: 30px 38px 34px; }
.cabecalho-pagina { margin-bottom: 25px; text-align: center; }

.etiqueta {
    display: inline-block;
    margin-bottom: 11px;
    padding: 6px 12px;
    color: var(--verde-800);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .65px;
    text-transform: uppercase;
    background: var(--verde-100);
    border-radius: 999px;
}

.cabecalho-pagina h1 { margin: 0 0 9px; font-size: 23px; font-weight: 700; }
.cabecalho-pagina p { margin: 0; color: var(--texto-suave); font-size: 14px; line-height: 1.55; }

.alerta {
    margin-bottom: 20px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 9px;
}

.alerta-erro { color: #842029; background: #fff1f2; border: 1px solid #f3c7cc; border-left: 4px solid #c93b4b; }
.alerta-sucesso { color: #0d5b35; background: #edf9f2; border: 1px solid #bfe6cf; border-left: 4px solid #198754; }

.form-group { margin-bottom: 19px; }
.form-group label { display: block; margin-bottom: 7px; color: #35423b; font-size: 13px; font-weight: 700; }
.campo-box { position: relative; }

.campo-icone {
    position: absolute;
    top: 50%; left: 14px;
    width: 19px; height: 19px;
    transform: translateY(-50%);
    color: #708078;
    pointer-events: none;
}

.campo-box .form-control {
    height: 50px;
    padding: 10px 46px 10px 45px;
    color: #26352d;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: 10px;
    box-shadow: none;
}

.campo-box .form-control:focus { border-color: var(--verde-600); box-shadow: 0 0 0 3px rgba(18,134,79,.13); }

.btn-olho {
    position: absolute;
    top: 50%; right: 8px;
    display: inline-flex;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    padding: 0;
    color: #64736b;
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
    cursor: pointer;
}

.btn-olho:hover, .btn-olho:focus { color: var(--verde-800); background: #edf6f1; outline: none; }
.btn-olho svg { width: 20px; height: 20px; }

.btn-principal {
    width: 100%; min-height: 50px;
    color: #fff;
    font-size: 15px; font-weight: 700;
    background: linear-gradient(135deg, var(--verde-700), #169058);
    border: 0; border-radius: 10px;
    box-shadow: 0 9px 19px rgba(8,116,67,.22);
}

.btn-principal:hover, .btn-principal:focus { color: #fff; filter: brightness(.96); }
.btn-principal:disabled { cursor: not-allowed; box-shadow: none; opacity: .6; }
.link-voltar { margin-top: 20px; text-align: center; }
.link-voltar a { color: var(--verde-800); font-size: 13px; font-weight: 700; }

.rodape-recuperacao {
    padding: 15px 25px;
    color: #68756e;
    font-size: 11px;
    text-align: center;
    background: #f6f9f7;
    border-top: 1px solid #e4ece7;
}

.forca-senha { height: 7px; margin-top: 9px; overflow: hidden; background: #e9efeb; border-radius: 20px; }
.forca-senha-barra { height: 100%; width: 0; border-radius: 20px; transition: width .25s ease, background .25s ease; }
.senha-fraca { width: 25%; background: #dc3545; }
.senha-media { width: 50%; background: #e0a800; }
.senha-boa { width: 75%; background: #168ca0; }
.senha-forte { width: 100%; background: #198754; }
.texto-forca { margin-top: 6px; font-size: 12px; font-weight: 700; }

.regras-senha {
    margin-top: 11px;
    padding: 12px 14px;
    color: #59655e;
    font-size: 12px;
    background: #f6f9f7;
    border: 1px solid #e4ebe7;
    border-radius: 9px;
}

.regras-senha ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 15px; margin: 8px 0 0; padding: 0; list-style: none; }
.regras-senha li::before { content: '\2022'; display: inline-block; width: 14px; font-weight: 700; }
.regra-ok { color: #198754; font-weight: 700; }
.regra-ok::before { content: '\2713' !important; }
.regra-erro { color: #7a8580; }
.mensagem-confirmacao { display: block; min-height: 18px; margin-top: 6px; font-size: 12px; font-weight: 700; }

.estado-link { padding: 8px 0 2px; text-align: center; }
.estado-icone {
    display: inline-flex;
    width: 62px; height: 62px;
    align-items: center; justify-content: center;
    margin-bottom: 15px;
    color: #b32635;
    background: #fff0f1;
    border-radius: 50%;
}
.estado-icone svg { width: 30px; height: 30px; }

@media (max-width: 575.98px) {
    .pagina-recuperacao { align-items: flex-start; padding: 14px 12px; }
    .card-recuperacao { border-radius: 17px; }
    .recuperacao-conteudo { padding: 25px 23px 28px; }
    .cabecalho-pagina h1 { font-size: 20px; }
    .regras-senha ul { grid-template-columns: 1fr; }
}
