/* Estilos da Página de Login */

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Centraliza verticalmente na tela */
    padding: 40px 0;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    text-align: center;
}

.auth-card h1 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #333;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Inputs */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; /* Importante para não estourar largura */
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Botões */
.full-width {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: background 0.2s;
}

.btn-primary {
    background-color: #0056b3;
    color: white;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: wait;
}

.btn-google {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
    gap: 10px;
    margin-top: 0;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* Divisor "ou" */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #999;
    font-size: 0.85rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider span {
    padding: 0 10px;
}

/* Footer Links */
.auth-footer {
    margin-top: 25px;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer p {
    margin-top: 15px;
    color: #666;
}

/* Mensagens de Erro */
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: left;
}
.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}