/* ==========================================================================
   VigiAndina - Pantalla de Autenticación / Inicio de Sesión (Vista 12.1)
   Brand Identity: Gradient Orange (#ee8931) to Deep Maroon (#7f060b)
   ========================================================================== */

:root {
  --va-brand-orange: #ee8931;
  --va-brand-maroon: #7f060b;
  --va-brand-orange-hover: #d97724;
  --va-border: rgba(255, 255, 255, 0.15);
  --va-text-main: #ffffff;
  --va-text-muted: rgba(255, 255, 255, 0.7);
}

body.va-login-body {
  min-height: 100vh;
  margin: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0f07 0%, #3d140b 50%, #0d0705 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--va-text-main);
  position: relative;
  overflow-x: hidden;
}

body.va-login-body::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(238, 137, 49, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.va-login-wrapper {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

/* Tarjeta de Login */
.va-login-card {
  background: linear-gradient(165deg, rgba(238, 137, 49, 0.95) 0%, rgba(127, 6, 11, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.va-login-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.va-brand-logo-circle {
  width: 56px;
  height: 56px;
  background: #ffffff;
  color: var(--va-brand-maroon);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
}

.va-brand-name {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.va-brand-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.2rem 0 0 0;
  font-weight: 500;
}

/* Campos del Formulario */
.va-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.va-field-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.va-login-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.va-login-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.va-login-icon {
  position: absolute;
  left: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 2;
}

.va-login-input {
  width: 100%;
  padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  transition: all 0.2s ease;
}

.va-login-input:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.va-login-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.va-password-toggle {
  position: absolute;
  right: 0.95rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.va-password-toggle:hover {
  color: #ffffff;
}

/* Botón de Iniciar Sesión */
.va-btn-login-submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--va-brand-maroon);
  background: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.15s ease;
}

.va-btn-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  background: #f8fafc;
  color: #000000;
}

.va-btn-login-submit:active {
  transform: translateY(0);
}

/* Footer del Login */
.va-login-footer {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.va-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.va-security-badge i {
  color: #a7f3d0;
}
