/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Estilizando a logo no canto superior esquerdo */
.logo-container {
    position: absolute;
    top: 15px;
    left: 250px; /* Valor padrão para desktop */
}

.forgot-logo {
    width: 45px; /* Tamanho padrão para desktop */
    height: auto;
}

/* Container de recuperação de senha */
.forgot-container {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin-top: 70px;
    text-align: center;
}

.forgot-container h2 {
    font-size: 22px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
}

.info-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Formulário */
.form-group {
    margin-bottom: 15px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Mensagens de erro */
.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    min-height: 20px;
}

/* Opções (botão de envio) */
.options {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* Botão de envio */
.reset-btn {
    padding: 8px 18px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.reset-btn:hover {
    background: #0056b3;
}

/* Links */
.links {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

.login-link,
.register-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link:hover,
.register-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mensagem de Termos e Privacidade */
.terms-message {
    margin-top: 15px;
    text-align: center;
    font-size: 11px;
    color: #666;
}

.terms-message p {
    margin: 0;
}

.terms-message .terms-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.terms-message .terms-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Responsividade Melhorada */
@media (max-width: 480px) {
    .logo-container {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .forgot-logo {
        width: 50px; /* Aumentei para 50px no mobile */
    }

    .forgot-container {
        padding: 20px;
        max-width: 90%;
        margin-top: 60px;
    }

    .forgot-container h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .info-text {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input {
        padding: 7px 7px 7px 30px;
        font-size: 14px;
    }

    .error-message {
        font-size: 12px;
    }

    .options {
        margin-bottom: 12px;
    }

    .reset-btn {
        padding: 7px 15px;
        font-size: 14px;
    }

    .links {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
        margin-bottom: 12px;
    }

    .terms-message {
        font-size: 10px;
        margin-top: 12px;
    }
}