@font-face {
  font-family: Poppins-Regular;
  src: url('fuentes/poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: Poppins-Medium;
  src: url('fuentes/poppins/Poppins-Medium.ttf');
}

@font-face {
  font-family: Poppins-Bold;
  src: url('fuentes/poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('fuentes/poppins/Poppins-SemiBold.ttf');
}

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

body, html {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
}

input {
  outline: none;
  border: none;
}

button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

/* =============================================
   FONDO DEL LOGIN - Moderno oscuro con partículas
   ============================================= */

.container-login {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #17637d 70%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

/* Círculos decorativos de fondo */
.container-login::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 150, 190, 0.15) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

.container-login::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 206, 1, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

/* =============================================
   TARJETA DE LOGIN - Glassmorphism
   ============================================= */

.wrap-login {
  width: 420px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  padding: 50px 45px 45px 45px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Línea de acento superior */
.wrap-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffce01, #2596be, #ffce01);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =============================================
   TÍTULO Y LOGO
   ============================================= */

.login-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 28px;
  color: #ffffff;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.login-form-subtitle {
  display: block;
  font-family: Poppins-Regular;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 30px;
}

.login-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo-wrap img {
  opacity: 0.95;
}

/* =============================================
   INPUTS MODERNOS
   ============================================= */

.wrap-input100 {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-family: Poppins-Medium;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.2;
  display: block;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0 16px;
  transition: all 0.3s ease;
}

.input100::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.input100:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffce01;
  box-shadow: 0 0 0 3px rgba(255, 206, 1, 0.15);
  color: #ffffff;
}

/* Icono decorativo del input */
.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  pointer-events: none;
}

/* Efecto focus legacy (mantener compatibilidad) */
.focus-efecto {
  display: none;
}

/* =============================================
   BOTÓN DE CONECTAR
   ============================================= */

.container-login-form-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 10px;
}

.wrap-login-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

.login-form-bgbtn {
  display: none;
}

.login-form-btn {
  font-family: Poppins-SemiBold;
  font-size: 15px;
  color: #1a1a2e;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffce01 0%, #f5b800 100%);
  box-shadow: 0 4px 20px rgba(255, 206, 1, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.login-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 206, 1, 0.5);
  background: linear-gradient(135deg, #ffd630 0%, #ffce01 100%);
  color: #0f172a;
}

.login-form-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 206, 1, 0.3);
}

/* =============================================
   FOOTER DEL LOGIN
   ============================================= */

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 576px) {
  .wrap-login {
    width: 100%;
    padding: 40px 24px 36px 24px;
    border-radius: 16px;
  }

  .login-form-title {
    font-size: 24px;
  }
}
