/* ====== Estructura solicitada (flex con dos columnas) ====== */
.css-1t2leug {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0;
}
.css-u4p24i {
  display: flex;
  flex-direction: row;
  -webkit-box-align: center;
  align-items: center;
}
.css-1toebtz {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    309.85deg,
    rgb(63, 231, 113) 37.25%,
    rgb(90, 219, 129) 58.7%,
    rgb(228, 213, 98) 87.69%,
    rgb(141, 225, 82) 106.87%
  );
  border-radius: 30px;
  box-shadow: none;
  height: 400px;
  padding-right: 500px;
  overflow: hidden;
}
.css-1toebtz .login-girl {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  max-width: 40vw;
  border-radius: 20px;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.6));
}
.css-10leusc {
  display: flex;
  flex-direction: column;
  height: 440px;
  width: 424px;
  background-image: url("/assets/rectangle-CixSZKIX.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0f0f12; /* opaco */
  margin-left: -110px;
  padding: 20px;
  gap: 30px;
  border-radius: 30px;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
/* ====== Responsive solo móvil ====== */
@media (max-width: 768px) {
  .login-sheet {
    width: 100%;
    max-width: 94vw;
    min-height: initial;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* El contenedor principal se comporta como card negro */
  .css-1t2leug {
    width: 94vw;
    max-width: 94vw;
    background-color: #0f0f12;
    border-radius: 24px;
    padding: 16px;
    margin: 0 auto;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  }
  .css-u4p24i {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  /* Banner verde compacto */
  .css-1toebtz {
    height: 220px;
    padding-right: 0;
    border-radius: 22px;
    position: relative;
  }
  .css-1toebtz .login-girl {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    max-width: 70vw;
  }
  /* Panel del formulario integrado al card */
  .css-10leusc {
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 12px 4px 4px;
    gap: 16px;
    background-image: none;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .lc-header {
    justify-content: space-between;
  }
  .lc-title {
    text-align: center;
    margin: 8px 0 12px;
  }
  .lc-form {
    gap: 10px;
  }
  .lc-btn {
    padding: 12px 14px;
    border-radius: 12px;
  }
}

/* Contenedor general del popup */
.login-container {
  position: relative;
  width: 1020px;
  height: 520px;
  max-width: 95vw;
  border-radius: 26px;
}
/* Bloque izquierdo: rectángulo verde + chica */
.login-left {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 420px;
}
.login-rect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.login-girl {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 390px;
  max-width: 40vw;
  border-radius: 20px;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.6));
  z-index: 2;
}

/* Bloque derecho: panel negro con formulario encima */
.login-card {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  max-width: 48vw;
  border-radius: 22px;
  background: rgba(14, 14, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  padding: 24px;
  color: #ffffff;
  z-index: 3;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}
.lc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 800;
}
.lc-brand {
  font-weight: 900;
  color: #d1fae5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lc-brand-logo {
  height: 28px;
  display: block;
}
.lc-sub {
  color: #a3a3a3;
  font-weight: 700;
}
.lc-title {
  margin: 10px 0 16px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.lc-form {
  display: grid;
  gap: 12px;
}
.lc-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 17, 20, 0.35);
  color: #e8e6f3;
}
.lc-input::placeholder {
  color: #bbbbbb;
}
.lc-input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.lc-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #a3e635, #22c55e);
  color: #0b0b0d;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}
.lc-btn:hover {
  filter: brightness(1.05);
}
.login-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 4;
}
.login-close:hover {
  background: rgba(255, 255, 255, 0.14);
}
