/* Estilos gerais */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8F9FA;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


/* Container do formulário */
.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

/* Logo */
.logo {
    width: 220px;
    display: block;
    margin: 0px auto 1rem auto;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Título */
h2 {
    color: #1b1b1b;
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.8rem;
}

/* Grupos de formulário */
.form-group {
    margin-bottom: 1.5rem;
}

/* Labels */
label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1b1b1b;
    font-weight: 600;
}

/* Inputs */
input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Garante que o padding não aumente a largura */
}

input:focus {
    outline: none;
    border-color: #1C5AB4;
    box-shadow: 0 0 0 3px rgba(28, 90, 180, 0.1);
}

/* Botão de login */
button {
    width: 100%;
    padding: 0.75rem;
    background: #1b1b1b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #000;
}

.success {
    color: #1b4404;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    background: #86bf7e;
    padding: 10px;
    border-radius: 10px;
}

/* Mensagem de erro */
.error {
    color: #e53e3e;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    background: #ffd6d6;
    border-radius: 8px;
    padding: 8px;
}

/* Link para criar conta */
.create-account {
    text-align: center;
    margin-top: 1.5rem;
    color: #1b1b1b;
    font-size: 1.0rem;
}

.create-account a {
    color: #1b1b1b;
    text-decoration: none;
    font-weight: 600;
}

.create-account a:hover {
    text-decoration: underline;
}

/* Link para "Esqueci minha senha" */
.forgot-password {
    text-align: center;
    margin-top: 0.5rem;
    color: #1b1b1b;
    font-size: 0.9rem;
}

.forgot-password a {
    color: #1b1b1b;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Link para "Voltar para login" */
.back-to-login {
    text-align: center;
    margin-top: 0.5rem;
    color: #1b1b1b;
    font-size: 0.9rem;
}

.back-to-login a {
    color: #1b1b1b;
    text-decoration: none;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* Estilos para inputs com ícones */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #6b7280;
    font-size: 1.2rem;
}

.input-with-icon input {
    padding-left: 40px;
}

/* Ajuste para o foco do input com ícone */
.input-with-icon input:focus {
    box-shadow: 0 0 0 3px rgba(28, 90, 180, 0.1);
}