/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Fundo de tela moderno (um tom de cinza escuro/azulado) */
    background-color: #1e293b;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ocupa 100% da altura da tela */
    color: #333;
}

/* --- A CAIXA DE LOGIN --- */
.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px; /* Bordas arredondadas */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); /* Sombra elegante */
    width: 100%;
    max-width: 400px; /* Largura máxima da caixa */
    text-align: center;
}

.login-container h2 {
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 24px;
}

.login-container p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 14px;
}

/* --- OS CAMPOS DE TEXTO --- */
.campo {
    margin-bottom: 20px;
    text-align: left;
}

.campo label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.campo input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

/* Efeito quando clica dentro do campo */
.campo input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* --- O BOTÃO DE ENTRAR --- */
button {
    width: 100%;
    padding: 14px;
    background-color: #2563eb; /* Azul corporativo */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

/* Efeito quando passa o mouse por cima do botão */
button:hover {
    background-color: #1d4ed8;
}

/* Efeito quando clica no botão */
button:active {
    transform: scale(0.98);
}