/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* HERO BACKGROUND */
.hero {
  height: 100vh;
  width: 100%;
  background: url("../img/img1.png") no-repeat center center/cover;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* overlay oscuro para legibilidad */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* TOP LOGIN */
.top-bar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.login-btn {
  background: linear-gradient(135deg, #ffffff 0%, #25c0f5 40%, #1d3343 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 15px rgba(37, 192, 245, 0.25);
}

/* HOVER con efecto más intenso */
.login-btn:hover {
  background: linear-gradient(135deg, #25c0f5 0%, #1d3343 70%, #ffffff 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 192, 245, 0.4);
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

/* LOGO */
.logo {
  width: 120px;
  margin-bottom: 20px;
}

/* TITULO */
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* TEXTO */
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* RESPONSIVE TABLET */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .logo {
    width: 90px;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
  .login-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}



/* LOGIN PAGE */
.login-page {
  background: url("../img/f.png") no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  font-family: Arial, sans-serif;
}

/* overlay usando tu color base */
.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 51, 67, 0.85); /* #1d3343 */
}

/* CONTENEDOR */
.login-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* CARD */
.login-box {
  width: 100%;
  max-width: 420px;
  padding: 35px;
  border-radius: 18px;

  background: rgba(29, 51, 67, 0.95); /* #1d3343 */
  border: 1px solid rgba(37, 192, 245, 0.4); /* #25c0f5 */

  box-shadow: 0 0 25px rgba(37, 192, 245, 0.15);
  backdrop-filter: blur(10px);
}

/* LOGO INTERNO */
.login-logo {
  width: 70px;
  display: block;
  margin: 0 auto 10px;
}

/* TITULOS */
.login-box h2 {
  text-align: center;
  margin-bottom: 5px;
  color: #ffffff;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
  color: #ffffff;
}

/* LABELS */
label {
  font-size: 12px;
  margin-top: 10px;
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
}

/* INPUT GROUP */
.input-group {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(37, 192, 245, 0.3);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.input-group:focus-within {
  border-color: #25c0f5;
  box-shadow: 0 0 10px rgba(37, 192, 245, 0.3);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* ICONOS */
.icon {
  margin-right: 10px;
  color: #25c0f5;
}

.icon-right {
  margin-left: 10px;
  cursor: pointer;
  color: #25c0f5;
}

/* OPTIONS */
.options {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 20px;
  color: #ffffff;
}

.options a {
  color: #25c0f5;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

/* BUTTON */
.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;

  background: #25c0f5;
  color: #1d3343;

  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #1bb3e6;
  transform: translateY(-2px);
}

/* DIVIDER */
.divider {
  text-align: center;
  margin: 20px 0;
  opacity: 0.6;
  color: #ffffff;
}

/* FOOTER */
.footer-text {
  text-align: center;
  font-size: 12px;
  opacity: 0.85;
  color: #ffffff;
}

.footer-text span {
  color: #25c0f5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .login-box {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .login-box {
    max-width: 100%;
    border-radius: 12px;
  }
}



/* =========================
   RESET BASE (IMPORTANTE)
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

/* =========================
   HERO CAROUSEL
========================= */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100dvh; /* clave moderno móvil */
  min-height: 100vh; /* fallback */
  overflow: hidden;
  background: #000;
}

/* CONTENEDOR */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =========================
   SLIDES
========================= */

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* IMAGEN RESPONSIVE REAL */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.6);
}

/* =========================
   OVERLAY BASE (PC)
========================= */

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  color: #fff;
  padding: 0 80px;
  z-index: 2;
  max-width: 100%;
}

/* ICONO */
.overlay .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* TITULOS */
.overlay h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.overlay h1 span {
  color: #25c0f5;
}

.overlay h2 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-top: 15px;
}

.overlay p {
  max-width: 600px;
  margin-top: 10px;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  opacity: 0.9;
  line-height: 1.4;
}

/* =========================
   DOTS
========================= */

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.3s;
}

.dots span.active {
  background: #25c0f5;
  transform: scale(1.2);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .overlay {
    align-items: center;
    text-align: center;
    padding: 0 40px;
  }

  .overlay .icon {
    width: 50px;
    height: 50px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .hero-carousel {
    height: 100dvh;
    min-height: 100vh;
  }

  .overlay {
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }

  .overlay .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .overlay h1 {
    font-size: 1.4rem;
  }

  .overlay h2 {
    font-size: 1rem;
  }

  .overlay p {
    font-size: 0.9rem;
    max-width: 90%;
  }
}

/* =========================
   ULTRA SMALL (IPHONE MINI / ETC)
========================= */

@media (max-width: 380px) {

  .overlay h1 {
    font-size: 1.2rem;
  }

  .overlay h2 {
    font-size: 0.95rem;
  }

  .overlay p {
    font-size: 0.85rem;
  }
}

/* =========================
   ojo ojo jo
========================= */
.toggle-password {
  cursor: pointer;
  user-select: none;
}


/* TODO TU CSS ACTUAL */

/* =========================
   WATER EFFECT LOGO
========================= */

.login-logo{
  position: relative;
  display: block;
  margin: auto;
  z-index: 2;

  animation: waterFloat 6s ease-in-out infinite;

  filter:
    drop-shadow(0 10px 25px rgba(37,192,245,0.35))
    brightness(1.02);
}

/* CAPA DE AGUA */
.login-box{
  position: relative;
  overflow: hidden;
}

.login-box::before{
  content: "";

  position: absolute;

  width: 220%;
  height: 220%;

  top: -60%;
  left: -60%;

  background:
    repeating-radial-gradient(
      circle,
      rgba(37,192,245,0.12) 0px,
      rgba(255,255,255,0.05) 3px,
      transparent 7px,
      transparent 15px
    );

  animation: waterRipple 12s linear infinite;

  pointer-events: none;

  mix-blend-mode: screen;

  opacity: 0.45;
}

/* MOVIMIENTO SUAVE */
@keyframes waterFloat{

  0%,100%{
    transform:
      translateY(0px)
      scale(1)
      rotate(0deg);

    filter:
      drop-shadow(0 10px 25px rgba(37,192,245,0.35))
      brightness(1.02);
  }

  50%{
    transform:
      translateY(-8px)
      scale(1.04)
      rotate(1deg);

    filter:
      drop-shadow(0 15px 35px rgba(37,192,245,0.5))
      brightness(1.08);
  }

}

/* ONDAS */
@keyframes waterRipple{

  0%{
    transform:
      translateX(-4%)
      translateY(-4%)
      rotate(0deg);
  }

  100%{
    transform:
      translateX(4%)
      translateY(4%)
      rotate(360deg);
  }

}