/* ======================================================
   INDEX – SHEET REGISTRO (PRODUCCIÓN)
   - Reutiliza /css/registro/stylo.css (scoped .registro)
   - Ajustes para integrarlo dentro del bottom-sheet del index
   - Acento melocotón + safe areas iOS
====================================================== */

.register-sheet{
  max-height: min(86vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

.register-switch,
.register-help{
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 10px;
}

.register-help{
  margin: 10px 0 2px;
}

/* Compactar el card dentro de la sheet */
.register-sheet .registro-card{
  /* Quitar el cristal: el registro debe verse igual que Restablecer contraseña */
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Inputs y tipografía: calcar estilo sheet-form (reset-password) */
.register-sheet .registro-title{
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.82);
  margin: 2px 2px 2px;
}

.register-sheet .registro-sub{
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,0.78);
  margin: 0 2px 10px;
}

.register-sheet .registro-stack{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 8px;
}

.register-sheet .registro-row{
  display:flex;
  gap: 10px;
}

.register-sheet .registro-row > *{ flex: 1 1 0; }

.register-sheet .registro input,
.register-sheet .registro select,
.register-sheet .registro textarea{
  width:100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 14px 14px;
  font-size: 14px;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.register-sheet .registro textarea{
  resize:none;
  min-height: 110px;
  padding-top: 12px;
  line-height: 1.35;
}

.register-sheet .registro input::placeholder,
.register-sheet .registro textarea::placeholder{
  color: rgba(255,255,255,0.45);
}

/* Acento app (melocotón) */
.register-sheet .registro-progress span.active{
  background: var(--accent-gradient);
}

.register-sheet .registro-btn{
  width:100%;
  height:54px;
  border-radius: 18px;
  border:0;
  cursor:pointer;
  font-weight: 900;
  letter-spacing: .2px;
  transition: transform .12s ease, filter .2s ease, opacity .2s ease;
  background: var(--accent-gradient);
  box-shadow: var(--accent-shadow);
  color:#fff;
}

.register-sheet .registro-btn.secondary{
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.register-sheet .registro-btn:active{ transform: scale(.985); }
.register-sheet .registro-btn:disabled{ opacity: .65; cursor: not-allowed; }

/* Acciones como reset: botones en columna */
.register-sheet .registro-actions{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 10px;
}

.register-sheet .registro-actions > span{ display:none; }

.register-sheet .registro input:focus,
.register-sheet .registro select:focus{
  border-color: rgba(255,106,74,0.55);
  box-shadow: 0 0 0 4px rgba(255,106,74,0.16);
}

/* Evitar que el texto se pegue al notch/handle */
.register-sheet h2{
  margin-top: 2px;
}


/* Progress como reset-password (dots centrados) */
.register-sheet .registro-progress{
  display:flex;
  justify-content:center;
  gap: 8px;
  margin: 10px 0 14px;
}
.register-sheet .registro-progress span{
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255,255,255,0.16);
}
.register-sheet .registro-progress span.active{
  background: var(--accent-gradient);
  box-shadow: var(--accent-shadow);
}
