/* Resetando alguns estilos padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f6f8fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container principal */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Caixa de login */
.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

/* Estilo para os campos de texto */
.textbox {
    position: relative;
    margin-bottom: 20px;
}

.textbox input {
    width: 100%;
    padding: 10px;
    padding-left: 30px; /* Deixa espaço para o ícone */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
}

.textbox input:focus {
    border-color: #0366d6;
    outline: none;
}

/* Ícones dentro dos campos */
.textbox i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* Botão de login */
.btn-container {
    display: flex;
    justify-content: center;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #0366d6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #025bb5;
}

/* Links do rodapé */
.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.footer a {
    font-size: 12px;
    color: #0366d6;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

input.invalid {
    border-color: #ff0000;
    background-color: #ffe6e6;
}

/* Estilo para a checkbox "Mostrar senha" */
.checkbox-container {
    margin-bottom: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-box {
        width: 90%;
        padding: 20px;
    }
}