/* style.css - Actualizado */
:root {
  --primary-color: #e63946;
  --bg-dark: rgba(15, 22, 32, 0.596);
  /* Un poco más transparente para ver la red detrás */
  --border-color: #202f3fcb;
  --text-main: #ffffff;
  --text-secondary: #a0aab5;
  --input-bg: #1b2636b8;
  --font-stack: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);

  /* AQUÍ ESTÁ EL CAMBIO 1: Capa oscura sobre la imagen */
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)),
    url('https://blueshield.mx/assets/images/portadaweb1.jpg');

  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 40px 0;
}


.login-wrapper {
  width: 100%;
  max-width: 520px;
  padding: 20px;
  position: relative;
  z-index: 2;
} 

.login {
  max-width: 380px;
  margin: 0 auto;
  background: var(--bg-dark);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  text-align: center;
  transition: transform 0.3s ease;
}

.login:hover {
  border-color: #3a4b5c;
}

.logo-container {
  margin-bottom: 20px;
}



.logo-img {
  height: 200px;
  animation: none !important;
}

.brand-title {
  color: var(--text-main);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  /* Sombra para leer mejor */
}

.brand-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  display: block;
}

/* Estilos del Formulario */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
  /* Glow rojo al escribir */
  background: #232e40;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d62828 0%, #a81d1d 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(214, 40, 40, 0.6);
  /* Glow intenso al pasar mouse */
}

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

.login-synopsis {
  margin-top: 20px;
  background: var(--bg-dark);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 26px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- RESPONSIVE / MÓVIL --- */
@media (max-width: 480px) {
  body {
    padding: 20px 0;
  }

  .login-wrapper {
    padding: 15px;
  }

  .login {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .logo-img {
    height: 140px; /* Reducir logo en móviles */
  }

  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input {
    font-size: 15px;
    padding: 10px 14px;
  }

  .btn-submit {
    padding: 12px;
    font-size: 15px;
  }

  .login-synopsis {
    padding: 20px;
    font-size: 12px;
    margin-top: 15px;
    border-radius: 12px;
  }
}

#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
