/* Resetando margens e paddings padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 10px;
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #28a745;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8f8f8;
}

input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #218838;
}

a {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #28a745;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#verify-message, #request-message, #reset-message {
    font-size: 14px;
    text-align: center;
}

#verify-code, #reset-password {
    display: none;
}

.success-message {
    color: #28a745; /* Verde para sucesso */
    font-weight: bold;
}

.error-message {
    color: #e74c3c; /* Vermelho para erro */
    font-weight: bold;
}


.mb-3 {
    margin-bottom: 15px;
}

.position-relative {
    position: relative;
}

/* Estilizando o campo de senha */
.input-group {
    display: flex;
    position: relative;
}

/* Ajustando o input para não ser empurrado */
.input-group input {
    flex: 1;
    padding-right: 40px; /* Espaço para o botão */
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
}

/* Botão do olho */
.input-group .toggle-password {
    width: 30px;
    height: 40px;
    border: 1px solid #28a745; /* Borda verde */
    border-radius: 19%; /* Botão circular */
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #28a745;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 1px;
    top: 33%;
    transform: translateY(-50%);
}

/* Ícone do olho */
.toggle-password i {
    font-size: 16px; /* Deixa o ícone menor */
}

/* Efeito ao passar o mouse */
.toggle-password:hover {
    color: green;
}

/* Responsividade */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h2 {
        font-size: 22px;
    }

    input, button {
        font-size: 14px;
    }
}
