html {
    font-size: 62.5%;
    box-sizing: border-box;/*Hack para Box Model*/
    scroll-snap-type: y mandatory;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Animaciones y keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.1);
  }
  50% {
    box-shadow: 0 12px 40px rgba(44, 62, 80, 0.15);
  }
  100% {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Elementos decorativos corporativos */
.login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c3e50 0%, #3498db 50%, #2c3e50 100%);
  z-index: 1;
}

.login::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #34495e 0%, #3498db 50%, #34495e 100%);
  z-index: 1;
}

/* Líneas decorativas laterales */
.decorative-lines {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #3498db 50%, transparent 100%);
  opacity: 0.6;
}

.decorative-lines.left {
  left: 10%;
}

.decorative-lines.right {
  right: 10%;
}

/**Scroll Snap**/
.servicios,
.Navegacion-Principal,
.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.creatucuenta_span {
  color: #2c3e50;
  font-size: 28px;
  font-family: Inter;
  font-weight: 700;
  line-height: 36px;
  word-wrap: break-word;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.crea-tu-cuenta {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.ingresatucorreo_span {
  color: #5a6c7d;
  font-size: 16px;
  font-family: Inter;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
  opacity: 0.9;
}

.ingresa-tu-correo {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.label_span {
  color: #828282;
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 30px;
  word-wrap: break-word;
}

.label {
  flex: 1 1 0;
}

.primary_span {
  color: white;
  font-size: 16px;
  font-family: Inter;
  font-weight: 600;
  line-height: 24px;
  word-wrap: break-word;
}

.primary {
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.iobihub_span {
  color: #2c3e50;
  font-size: 42px;
  font-family: Inter;
  font-weight: 800;
  line-height: 48px;
  word-wrap: break-word;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.iobihub_span::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2c3e50);
  border-radius: 2px;
}

.iobi-hub {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  order: -1;
  width: 100%;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out both;
}

.copy {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
  margin-bottom: 16px;
  width: 100%;
}

.field {
  width: 100%;
  height: 52px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: white;
  border-radius: 12px;
  outline: 2px #E8EDF4 solid;
  outline-offset: -2px;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  display: flex;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}



.button {
  width: 100%;
  height: 52px;
  padding-left: 20px;
  padding-right: 20px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: flex;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.button:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.button:hover::before {
  left: 100%;
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.input-and-button {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  display: flex;
  width: 100%;
}

.content {
  width: 440px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
  display: flex;
  border: 1px solid rgba(224, 224, 224, 0.3);
  position: relative;
  animation: pulse 4s ease-in-out infinite;
  overflow: hidden;
}

.content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #3498db 50%, transparent 100%);
}

.content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #2c3e50 50%, transparent 100%);
}

.login {
  width: 100vw;
  height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 50%, #f5f7fa 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

/* Elementos decorativos flotantes */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.05));
  animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.floating-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 25%;
  left: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.3;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    width: 90%;
    padding: 30px;
  }
  
  .decorative-lines {
    display: none;
  }
  
  .floating-circle {
    display: none;
  }
}

.label_input {
  color: #2c3e50;
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 30px;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  flex: 1;
}

.label_input::placeholder {
  color: #828282;
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 30px;
}

.label_input:focus::placeholder {
  opacity: 0.5;
}

/* Estilos para el icono de mostrar/ocultar contraseña */
.toggle-password {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
}

/* Mensajes de error y éxito */
.error, .success {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    animation: fadeInUp 0.5s ease-out both;
}

.error {
    background-color: #fbeae5;
    color: #c0392b;
}
.success {
    background-color: #e9f7ef;
    color: #27ae60;
}