/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    color: #fff;
}

/* Container do Login */
.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Estilo dos Inputs do Django Allauth */
form input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: 0.3s;
}

form input:focus {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    background: #fff;
}

/* Botão */
.btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    background: #4caf50;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Links e Textos Extra */
p {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Estilo para as mensagens de erro do Django */
.errorlist {
    list-style: none;
    color: #ffcccc;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: left;
}

/* Variante azul para o botão Google */
.btn-google-confirm {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    background: #4285F4; /* Azul Oficial Google */
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-google-confirm:hover {
    background: #357ae8;
    transform: translateY(-1px);
}

/* Ajuste específico para a página de Empresa */
.empresa-container {
    max-width: 800px !important; /* Damos espaço para as colunas */
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left; /* Garante que os labels ficam à esquerda */
}

.form-group label {
    margin-bottom: 5px;
    display: block;
    color: #fff;
}

/* Força os inputs a serem consistentes */
.form-grid input, .form-grid select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
}

.full-width { grid-column: span 2; }

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}
.form-grid select {
    margin-top:10px;
    margin-bottom:10px;
}