.registro-reserva-body,
.registro-formulario-body {
  min-height: var(--app-viewport-h, 100vh);
  background: #eef3f9;
}

.registro-public-shell {
  position: relative;
  min-height: var(--app-viewport-h, 100vh);
  overflow: hidden;
}

.registro-public-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.registro-public-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) blur(1px);
  opacity: 0.16;
}

.registro-public-content {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.registro-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 28px;
  padding: 2rem;
  backdrop-filter: blur(14px);
}

.registro-card__header {
  margin-bottom: 1.5rem;
}

.registro-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.registro-brand__logo {
  width: 40px;
  height: 40px;
  flex: none;
}

.registro-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.registro-brand__name {
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #0d6efd;
}

.registro-brand__tagline {
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6c757d;
}

.registro-card__title {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
  color: #1d2940;
}

.registro-card__subtitle,
.registro-card__footer {
  color: #5b6983;
  font-size: 0.98rem;
}

.registro-form {
  display: grid;
  gap: 1.25rem;
}

.registro-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8ba7;
}

.registro-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #d7e2f0;
  border-radius: 18px;
  background: #f9fbfe;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  color: #22304b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.registro-input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
  background: #fff;
}

.registro-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #32415f;
}

.registro-check input {
  margin-top: 0.2rem;
}

.registro-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

.registro-btn-primary {
  min-width: 240px;
  min-height: 54px;
  border-radius: 18px;
  font-weight: 700;
  padding-inline: 1.4rem;
}

.registro-alert {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}

.registro-alert--success {
  background: #eaf7ef;
  border-color: #b9e2c7;
  color: #1d6d3a;
}

.registro-alert--danger {
  background: #fdeceb;
  border-color: #f2b8b5;
  color: #972e2a;
}

.registro-alert--info {
  background: #eaf2ff;
  border-color: #bfd5ff;
  color: #214f9c;
}

.registro-placeholder {
  border: 1px dashed #bfd1ea;
  border-radius: 20px;
  padding: 1.25rem;
  background: #f8fbff;
}

.registro-placeholder__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1d2940;
  margin-bottom: 0.4rem;
}

.registro-section {
  border-top: 1px solid #e0e7f2;
  padding-top: 1.5rem;
}

.registro-section__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f7f99;
  margin-bottom: 1rem;
}

.registro-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6f7f99 50%),
    linear-gradient(135deg, #6f7f99 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 4px),
    calc(100% - 14px) calc(50% - 4px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

.registro-textarea {
  min-height: 108px;
  resize: vertical;
}

.registro-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  min-height: 56px;
  border: 1px solid #d7e2f0;
  border-radius: 18px;
  background: #f9fbfe;
  padding: 1rem 1.1rem;
}

.registro-choice-group--stack {
  flex-direction: column;
  align-items: flex-start;
}

.registro-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #22304b;
}

.registro-radio input {
  margin: 0;
}

.registro-select-grid {
  display: grid;
  gap: 0.75rem;
}

.registro-select-grid--birth {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.registro-check-list {
  display: grid;
  gap: 0.9rem;
}

.registro-password-rules {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
}

@media (max-width: 991.98px) {
  .registro-password-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .registro-password-rules {
    grid-template-columns: minmax(0, 1fr);
  }
}

.registro-password-rule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #6f8199;
}

.registro-rule-icon {
  font-size: 1.05rem;
  color: #9badc4;
}

.registro-password-rule.is-valid,
.registro-password-rule.is-valid .registro-rule-icon {
  color: #1f7a4f;
}

.registro-obligatorio {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #5b6983;
}

.registro-legal {
  color: #32415f;
  line-height: 1.6;
}

.registro-help {
  color: #5b6983;
  font-size: 0.92rem;
}

.registro-help--danger {
  color: #c44740;
}

.registro-form__actions--center {
  justify-content: center;
}

.registro-countdown {
  color: #5b6983;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .registro-public-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .registro-card {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .registro-btn-primary {
    width: 100%;
  }

  .registro-select-grid--birth {
    grid-template-columns: 1fr;
  }

  .registro-form__actions--center {
    justify-content: stretch;
  }
}

/* Reserva: mensaje final y confirmación del email (como reserva.php del antiguo). */
.registro-reserva-ok {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}
.registro-reserva-ok h2 {
  margin: 0 0 0.6rem;
  color: #15803d;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
}
.registro-reserva-ok p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}
.registro-confirmar {
  border: 0;
  border-radius: 1.1rem;
}
.registro-confirmar .modal-body {
  padding: 1.6rem 1.6rem 0.6rem;
  text-align: center;
}
.registro-confirmar__titulo {
  margin: 0 0 0.6rem;
  color: #0f2a44;
  font-size: 1.2rem;
  font-weight: 700;
}
.registro-confirmar__texto {
  margin: 0;
  color: #334155;
  word-break: break-word;
}
.registro-confirmar .modal-footer {
  justify-content: center;
  border-top: 0;
  padding-bottom: 1.4rem;
}

/* Tarjeta de la reserva: más estrecha y con los espacios ordenados. */
.registro-card--reserva {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.25rem 2.25rem 1.75rem;
}
.registro-card--reserva .registro-card__header {
  margin-bottom: 1.75rem;
}
.registro-card--reserva .registro-brand {
  margin-bottom: 1.4rem;
}
.registro-card--reserva .registro-card__title {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.55rem;
}
.registro-card--reserva .registro-card__subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.registro-card--reserva .registro-form .row {
  --bs-gutter-y: 1.15rem;
}
.registro-card--reserva .registro-label {
  margin-bottom: 0.45rem;
}
.registro-card--reserva .registro-check-list {
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding: 1.1rem 1.15rem 0.9rem;
  border: 1px solid #dfe8f3;
  border-radius: 16px;
  background: #f6f9fd;
}
.registro-card--reserva .registro-check {
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.registro-card--reserva .registro-check input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: #0d6efd;
  cursor: pointer;
}
.registro-card--reserva .registro-check a {
  font-weight: 600;
}
.registro-card--reserva .registro-obligatorio {
  margin: 0.1rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid #e3eaf3;
}
.registro-card--reserva .registro-form__actions {
  padding-top: 1.5rem;
}
.registro-card--reserva .registro-btn-primary {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}
.registro-card--reserva .registro-card__footer {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e3eaf3;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: center;
}
.registro-card--reserva .registro-alert {
  margin-bottom: 1.25rem;
}
@media (max-width: 575.98px) {
  .registro-card--reserva {
    padding: 1.6rem 1.25rem 1.35rem;
    border-radius: 22px;
  }
}
