* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f3f4f6; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.login-wrapper { width: 100%; padding: 20px; display: flex; justify-content: center; }
.login-container { background: #ffffff; box-shadow: 0 10px 25px rgba(0,0,0,0.05); display: flex; max-width: 900px; width: 100%; min-height: 550px; }

/* Lado Esquerdo - Imagem */
.login-image { flex: 1; background: url('../img/fundo_login.webp') no-repeat center center; background-size: cover; background-color: #2c3e50; }

/* Lado Direito - Formulário */
.login-form-area { flex: 1; padding: 60px 70px; display: flex; flex-direction: column; justify-content: center; background: #ffffff; }
.login-form-area h2 { font-size: 32px; color: #1f2937; margin-bottom: 10px; font-weight: 700; }
.login-form-area .subtitle { color: #888; font-size: 14px; margin-bottom: 40px; }

.alert { background-color: #fee2e2; border-left: 4px solid #ef4444; color: #b91c1c; padding: 12px; margin-bottom: 20px; font-size: 14px; }

.input-group { margin-bottom: 20px; }
.input-group input { width: 100%; padding: 15px; border: 1px solid #e5e7eb; border-radius: 4px; font-size: 15px; color: #374151; outline: none; transition: border-color 0.2s; }
.input-group input:focus { border-color: #007bff; }
.input-group input::placeholder { color: #9ca3af; }

.checkbox-group { display: flex; align-items: center; margin-bottom: 30px; }
.checkbox-group input { margin-right: 10px; width: 16px; height: 16px; cursor: pointer; accent-color: #007bff; }
.checkbox-group label { font-size: 14px; color: #6b7280; cursor: pointer; }

.btn-login { width: 100%; padding: 15px; background-color: #007bff; color: white; border: none; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.btn-login:hover { background-color: #0056b3; }

@media (max-width: 768px) {
    .login-container { flex-direction: column; max-width: 450px; }
    .login-image { display: none; }
    .login-form-area { padding: 40px 30px; }
}
