@import url("style.css");


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #131313;
}
/* ===========================
   CONTAINER
=========================== */
.recupera-container {
    width: 100%;
    min-height: 100vh;
    background: #131313;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

/* ===========================
   CARD
=========================== */
.recupera-card {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    background: rgba(30, 30, 30, 0.92);
    border-radius: 18px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

/* Iluminação dourada */
.recupera-card::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 240px;
    height: 240px;
    background: #bb8031;
    filter: blur(140px);
    opacity: 0.35;
    z-index: -1;
}

/* ===========================
   TÍTULOS
=========================== */
.recupera-card h2 {
    font-size: 30px;
    color: white;
    margin-bottom: 15px;
}

.recupera-card .sub {
    font-size: 15px;
    color: #bfbfbf;
    margin-bottom: 25px;
}

/* ===========================
   INPUTS
=========================== */
.input {
    width: 100%;
    padding: 14px;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    margin-bottom: 18px;
    transition: .3s;
}

.input:focus {
    border-color: #bb8031;
    box-shadow: 0 0 10px #bb8031;
}

/* ===========================
   BOTÃO
=========================== */
.btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: #bb8031;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    color: #131313;
    transition: 0.3s ease;
    margin-top: 5px;
}

.btn:hover {
    background: #d9a15a;
    transform: scale(1.03);
    box-shadow: 0 0 15px #bb8031;
}

/* ===========================
   VOLTAR AO LOGIN
=========================== */
.voltar {
    margin-top: 20px;
    color: #c5c5c5;
}

.voltar a {
    color: #bb8031;
    text-decoration: none;
}

.voltar a:hover {
    text-decoration: underline;
}

/* ===========================
   ETAPAS
=========================== */
.hidden {
    display: none;
}

.step {
    margin-bottom: 25px;
}

/* RESPONSIVO */
@media (max-width: 500px) {
    .recupera-card {
        padding: 28px;
    }

    .recupera-card h2 {
        font-size: 26px;
    }
}



/* APÓS RECUPERAR SENHA  */


/* ============================================
   TRANSIÇÃO ENTRE TELAS (FADE + SLIDE)
============================================ */
.step {
    opacity: 0;
    transform: translateY(20px);
    transition: .5s ease;
    pointer-events: none;
}

.step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* ============================================
   CHECK ANIMADO (ÍCONE DE SUCESSO)
============================================ */
/* CHECK ANIMADO */
.success-check {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 5px solid #28d870;
    position: relative;

    /* Animação suave */
    opacity: 0;
    transform: scale(0.3);
    animation: checkPop .6s ease forwards .3s;
}

/* Animação do círculo */
@keyframes checkPop {
    0% { transform: scale(0.3); opacity: 0; }
    60% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ✓ DESENHADO ANIMADO */
.success-check::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 21px;
    width: 0;
    height: 0;
    border-right: 5px solid #28d870;
    border-bottom: 5px solid #28d870;
    transform: rotate(45deg);

    animation: drawCheck .45s ease forwards .75s;
}

@keyframes drawCheck {
    0% { width: 0; height: 0; }
    40% { width: 28px; height: 0; }
    100% { width: 28px; height: 45px; }
}


.fade-card {
    opacity: 0;
    transform: translateY(25px);
    transition: .6s ease;
}