/* ================= GLASS CARD ================= */
.formulario-login-registro {
  width: min(520px, 94vw);
  height: min(90vh, 900px);
  padding: 30px;
  border-radius: 26px;

  background: rgba(200,230,255,0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 0 45px rgba(0,180,255,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.25);

  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index:3;
}


.registro {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}



/* ================= SCROLL INTERNO ================= */

.scrolable {
  flex: 1;                 /* ← CLAVE */
  overflow-y: auto;
  padding-right: 10px;
  min-height: 0;           /* ← MUY IMPORTANTE EN FLEX */
}
.scrolable::-webkit-scrollbar {
  width: 6px;
}

.scrolable::-webkit-scrollbar-track {
  background: transparent;
}

.scrolable::-webkit-scrollbar-thumb {
  background: rgba(0,180,255,.5);
  border-radius: 10px;
}

.scrolable::-webkit-scrollbar-thumb:hover {
  background: rgba(0,180,255,.8);
}



/* Scroll elegante */
.scrolable::-webkit-scrollbar {
  width: 6px;
}
.scrolable::-webkit-scrollbar-thumb {
  background: rgba(0,180,255,.5);
  border-radius: 10px;
}

/* ================= FORM ================= */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 0.85rem;
  opacity: .9;
}

input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: none;
  outline: none;
  background: rgba(255,255,255,.65);
  font-size: .85rem;
}

/* Botones */
button {
  padding: 12px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(0,180,255,.85), rgba(0,120,255,.85));
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(0,180,255,.6);
  transition: .25s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0,180,255,.9);
}






.landscape .formulario-login-registro {
  transform: scale(.95);
}





