/* ============================================
   ESTILOS MODERNOS Y MINIMALISTAS PARA LOGIN
   ============================================ */

/* Fondo con patrón sutil y textura minimalista */
.container-login100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    /* Puntos sutiles */
    radial-gradient(circle at 25% 25%, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
  pointer-events: none;
  z-index: 1;
}

.container-login100::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    /* Círculos decorativos sutiles */
    radial-gradient(circle at 15% 20%, rgba(203, 213, 225, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(226, 232, 240, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.wrap-login100 {
  position: relative;
  z-index: 2;
}

/* Logos superiores - Más espacio y mejor visualización */
.logo-header-container {
  margin-bottom: 15px !important;
  margin-top: -5px !important;
  padding: 0;
}

.logo-header-mspbs {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 85px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* Mejora del contenedor principal - Turquesa suave y profesional */
.wrap-login100 {
  width: 440px !important;
  border-radius: 16px !important;
  padding: 20px 45px 30px 45px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
              0 2px 8px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg,
              rgba(14, 116, 144, 0.88) 0%,
              rgba(6, 148, 162, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Logo moderno y minimalista */
.login100-form-logo {
  width: 80px !important;
  height: 80px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
              0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 0px !important;
  border: 2px solid rgba(226, 232, 240, 0.8) !important;
  position: relative;
  overflow: hidden;
}

.login100-form-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.login100-form-logo:hover::before {
  left: 100%;
}

.login100-form-logo img {
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.login100-form-logo img:hover {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Título más refinado */
.login100-form-title {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin-top: 0px !important;
  margin-bottom: 12px !important;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Inputs minimalistas */
.wrap-input100 {
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  margin-bottom: 12px !important;
  transition: all 0.3s ease;
  position: relative;
}

.wrap-input100:hover {
  border-bottom-color: rgba(255, 255, 255, 0.5) !important;
}

.input100 {
  font-size: 15px !important;
  color: #ffffff !important;
  height: 45px !important;
  padding: 0 15px 0 45px !important; /* Más espacio para el icono */
  background: transparent !important;
  border: none !important;
}

.input100::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 300;
  font-size: 14px !important;
}

.input100:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Línea de foco mejorada */
.focus-input100::before {
  height: 2px !important;
  background: #ffffff !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Iconos de los inputs - Posicionamiento correcto con mejor visibilidad */
.focus-input100 {
  pointer-events: none !important;
}

.focus-input100::before {
  pointer-events: none !important;
}

.focus-input100::after {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 500;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.input100:focus + .focus-input100::after {
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Checkbox más moderno */
.label-checkbox100 {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  font-weight: 300;
}

.label-checkbox100::before {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Botón elegante y moderno */
.login100-form-btn {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #0891b2 !important;
  height: 48px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
              0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.login100-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2),
              0 2px 6px rgba(0, 0, 0, 0.15) !important;
  color: #0e7490 !important;
}

.login100-form-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.login100-form-btn::before {
  display: none !important;
}

/* Enlaces más sutiles */
.txt1 {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px !important;
  font-weight: 300;
  transition: all 0.2s ease;
  margin-top: 4px !important;
}

.txt1:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* ============================================
   ICONO DE MOSTRAR/OCULTAR CONTRASEÑA
   ============================================ */

.toggle-password {
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  z-index: 100 !important;
  color: #1e293b !important;
  font-size: 18px !important;
  transition: all 0.3s ease !important;
  opacity: 0.7 !important;
  padding: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  pointer-events: auto !important;
}

.toggle-password:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.1) !important;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
  color: #0f172a !important;
}

.toggle-password:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.toggle-password i {
  color: #1e293b !important;
  font-size: 16px !important;
  pointer-events: none !important;
}

/* Ajustar padding del input de contraseña para dar espacio al icono */
input[type="password"].input100,
input[type="text"].input100[name="password"],
input[type="text"].input100[name="password_confirmation"] {
  padding-right: 50px !important;
}

/* Responsive - Mejoras para móviles */
@media (max-width: 576px) {
  .wrap-login100 {
    width: 95% !important;
    padding: 20px 30px 30px 30px !important;
  }

  .login100-form-logo {
    width: 75px !important;
    height: 75px !important;
  }

  .login100-form-title {
    font-size: 16px !important;
  }

  .input100 {
    font-size: 14px !important;
  }

  .login100-form-btn {
    height: 46px !important;
    font-size: 14px !important;
  }

  .toggle-password {
    right: 12px !important;
    font-size: 16px !important;
  }
}
