/*
===============================================================================
Archivo: login.css
Propósito: Estilos para la pantalla de login de soporte.cadpel.com
Versión: 1.0.0
===============================================================================
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #eef2ff 0, #f9fafb 40%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 16px;
}

.login-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
  padding: 24px 22px 22px;
  border: 1px solid #e5e7eb;
}

.login-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.login-error-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #b91c1c;
  font-size: 13px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-field label {
  font-size: 13px;
  color: #4b5563;
}

.login-field input {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #f9fafb;
}

.login-field input:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 1px rgba(109, 40, 217, 0.18);
  background: #ffffff;
}

.login-btn {
  margin-top: 4px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  color: #f9fafb;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.login-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.45);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 5px 16px rgba(109, 40, 217, 0.4);
}

@media (max-width: 480px) {
  .login-card {
    padding: 20px 16px 18px;
  }
}
