@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: "Poppins", sans-serif;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #ffffff;
    color: #1e293b;
}
.wrapper {
    width: 420px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 40px 40px 70px 40px;
    transition: all 0.3s ease;
    position: relative;
}
.wrapper:hover {
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.12), 0 15px 15px -5px rgba(0, 0, 0, 0.06);
}
.wrapper h1 {
    font-size: 28px;
    text-align: center;
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.wrapper .input-box {
    width: 100%;
    height: 54px;
    margin: 20px 0;
}
.input-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #1e293b;
    padding: 16px 50px 16px 20px;
    background: #ffffff;
    transition: all 0.2s ease;
}
.input-box input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.input-box input::placeholder {
    color: #64748b;
    font-weight: 400;
}
.input-box {
    position: relative;
}
.input-box i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #64748b;
    transition: color 0.2s ease;
}
.input-box i:hover {
    color: #3b82f6;
}
.wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: -8px 0 20px;
    color: #64748b;
}
.remember-forgot label input {
    accent-color: #3b82f6;
    margin-right: 6px;
}
.remember-forgot a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.remember-forgot a:hover {
    color: #1e40af;
    text-decoration: underline;
}
.wrapper .btn {
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-top: 25px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.wrapper .btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}
.wrapper .register-link {
    font-size: 14px;
    text-align: center;
    margin: 24px 0 16px;
    color: #64748b;
}
.register-link p a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.register-link p a:hover {
    color: #1e40af;
    text-decoration: underline;
}
nav {
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: #1e40af;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    letter-spacing: 0.25px;
}

nav a:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

main {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para o botão voltar */
.btn-back {
    position: absolute;
    bottom: 11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}
.btn-back:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #1e40af;
    text-decoration: none;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

/* Estilos específicos para a página de recuperação de senha */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
    padding: 40px 20px;
}

.header-section {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.subtitle {
    color: #64748b;
    font-size: 15px;
    margin-top: 8px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.1px;
}

.form-section {
    width: 100%;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
}

.logo {
    max-width: 100px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    
}

.logo:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Mensagens de feedback */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.message-success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.message-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .wrapper {
        width: 90%;
        padding: 32px 24px;
    }
    
    .container {
        padding: 20px;
    }
    
    .wrapper h1 {
        font-size: 28px;
    }
    
    .logo {
        max-width: 150px;
    }
}