@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
}

.main-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Logo e título no mobile */
.mobile-header {
    display: none; /* Oculta no desktop */
    width: 100%;
    text-align: center;
}

.mobile-logo {
    width: 90px; /* Ajuste conforme necessário */
}

/* Lado esquerdo - Formulário */
.forgot-password-wrapper {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}

.forgot-password-content {
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo {
    width: 65px;
    position: relative;
    top: -170px;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.title-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    position: relative;
    top: -170px;
}

.title-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #333;
    position: relative;
    top: -170px;
    padding-left: 3px;
}

small {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #eee;
}

.input-container {
    text-align: left;
    margin: 15px 0;
}

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

.back-link {
    font-size: 14px;
    margin-top: 20px;
    display: block;
}

.back-link a {
    color: #007bff;
    text-decoration: none;
}

/* Lado direito - Imagem de fundo */
.side-content {
    width: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Mensagens de erro ou sucesso */
.messages {
    list-style-type: none;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-align: left;
}

.messages li {
    padding: 5px 0;
}

.error {
    background-color: #ffecec;
    color: #f44336;
    border-left: 4px solid #f44336;
}

.success {
    background-color: #e7f6e7;
    color: #4caf50;
    border-left: 4px solid #4caf50;
}

.info {
    background-color: #e7f3fe;
    color: #007bff;
    border-left: 4px solid #007bff;
}

/* Responsivo */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        height: auto;
        width: 95%;
    }

    .forgot-password-wrapper,
    .side-content {
        width: 100%;
        padding: 20px;
    }

    .side-content {
        display: none; /* Oculta a seção de informações no mobile */
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .logo-container {
        display: none; /* Oculta a logo normal no mobile */
    }

    .main-container {
        padding-top: 70px; /* Para não cobrir o formulário */
    }
}