/* #region STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #000000;
  background-color: #ffffff;
}

body.modal-open {
  overflow: hidden;
}

.contenedor-principal {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 0;
}

.formulario {
  width: 100%;
  max-width: 768px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 5px;
}

.form-columns {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.form-columns > .campo,
.form-columns > .fila-prefijo-telefono,
.form-columns > .campo-titulacion-multiple,
.form-columns > .campo-toggle,
.form-columns > .orden-required-cbox-wrap {
  width: 100%;
}

.form-columns > .boton-enviar {
  width: 100%;
  max-width: 370px;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

.form-columns.form-columns-full {
  padding-top: 8px;
}

.form-column {
  width: 100%;
  max-width: 370px;
}

.form-columns.form-columns-full .form-column {
  max-width: 100%;
}

.form-column + .form-column {
  margin-top: 8px;
}

.campo {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 0;
}

.campo-perfil-select {
  display: flex;
  margin-bottom: 0;
}

.campo-perfil-select.tiene-valor select {
  font-weight: 700;
}

.campo.flotante .campo-control {
  position: relative;
  height: 48px;
  min-height: 48px;
}

.campo.flotante input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 48px;
  border-radius: 4px;
  border: 1px solid #b3b3b3;
  background-color: #ffffff;
  padding: 18px 40px 8px 12px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #000000;
  outline: none;
}

.campo.flotante input::placeholder {
  color: transparent;
}

.campo.flotante label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #000000;
  pointer-events: none;
  transition: all 0.18s ease;
}

.campo.flotante input:focus + label,
.campo.flotante input:not(:placeholder-shown) + label {
  top: 4px;
  transform: translateY(0);
  font-size: 13px;
  line-height: 1.2;
  white-space: normal;
  color: #737373;
}

.campo.flotante:focus-within input {
  border-color: #787878;
  border-width: 2px;
}

.campo.flotante input:not(:placeholder-shown) {
  font-weight: 700;
}

.icono-validacion {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.campo.flotante.valid input {
  border-color: #40c85d;
  border-width: 2px;
}

.campo.flotante.valid .icono-validacion {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 4L8 20L2 14" stroke="%2334C759" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.campo.flotante.invalid input {
  border-color: #ff0000;
  border-width: 2px;
  color: #ff0000;
}

.campo.flotante.invalid .icono-validacion {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 4L20 20M4 20L20 4" stroke="%23E1251B" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.mensaje-error {
  display: block;
  min-height: 16px;
  margin-top: 1px;
  font-size: 13px;
  color: #ff0000;
  visibility: hidden;
}

.campo.tocado.invalid .mensaje-error,
.mensaje-error.visible {
  visibility: visible;
}

.campo-errores-reserva {
  display: block;
  min-height: 17px;
}

.campo-errores-reserva .mensaje-error {
  display: none;
  min-height: 0;
  margin-top: 0;
  visibility: visible;
}

.campo-errores-reserva .mensaje-error.visible {
  display: block;
  min-height: 16px;
  margin-top: 1px;
}

.campo-select {
  display: flex;
  flex-direction: column;
}

.campo-control-select {
  position: relative;
  width: 100%;
  height: 48px;
  min-height: 48px;
  overflow: visible;
  border-radius: 4px;
  border: 1px solid #b3b3b3;
  background-color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  --campo-control-border-width: 1px;
}

.campo-calendario .campo-control-select {
  height: 48px;
  min-height: 48px;
}

.campo-calendario label {
  top: 12px;
  transform: translateY(0);
  right: 32px;
  left: 12px;
  white-space: normal;
  line-height: 1.25;
}

/* Long labels (e.g. facultad): 48px desktop; taller empty state on mobile only */
.campo-select-label-largo label {
  right: 32px;
  left: 12px;
  white-space: normal;
  line-height: 1.25;
}

.campo-select-label-largo:not(.tiene-valor):not(:focus-within):not(.pseudo-open):not(.abierto) label {
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #000000;
}

.campo-select:focus-within .campo-control-select {
  border-color: #787878;
  border-width: 2px;
  --campo-control-border-width: 2px;
}

.campo-select.valid .campo-control-select {
  border-color: #40c85d;
  border-width: 2px;
  --campo-control-border-width: 2px;
}

.campo-select.invalid .campo-control-select {
  border-color: #ff0000;
  border-width: 2px;
  --campo-control-border-width: 2px;
}

.campo-select.valid .centro-manual-input {
  border-color: #40c85d;
  border-width: 2px;
}

.campo-select.invalid .centro-manual-input {
  border-color: #ff0000;
  border-width: 2px;
}

.campo-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 48px;
  border-radius: 4px;
  border: none;
  padding: 18px 28px 8px 12px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  color: #000000;
  background-color: transparent;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  z-index: 2;
}

.campo-select .centro-manual-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 48px;
  border-radius: 4px;
  border: 1px solid #b3b3b3;
  padding: 18px 28px 8px 12px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  color: #000000;
  background-color: #ffffff;
  outline: none;
}

.campo-select.manual-centro .campo-control-select::after {
  display: none;
}


.campo-calendario select {
  padding-top: 24px;
  padding-bottom: 6px;
  align-items: flex-end;
}

.campo-calendario .pseudo-select-value-text {
  top: 18px;
}

.formulario .campo-control-select select,
.formulario .pseudo-native-search {
  width: 100% !important;
}

.native-select-hidden {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none !important;
  background: transparent !important;
  color: transparent !important;
}

body.pseudo-ghost-click-active .campo-select,
body.pseudo-ghost-click-active .campo-texto,
body.pseudo-ghost-click-active .campo.flotante,
body.pseudo-ghost-click-active .campo-telefono,
body.pseudo-ghost-click-active .fila-prefijo-telefono {
  pointer-events: none;
}

.pseudo-select-value-text {
  position: absolute;
  left: 12px;
  right: 32px;
  top: 18px;
  bottom: auto;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #000000;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}

.campo-select.tiene-valor .pseudo-select-value-text {
  display: flex;
}

.pseudo-select-value-text img {
  flex-shrink: 0;
  width: 20px;
  height: 15px;
  object-fit: contain;
}

.pseudo-select-value-text span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.select-scroll-7 {
  max-height: calc(7 * 2.4em);
  overflow-y: auto;
}

.campo-select label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #000000;
  pointer-events: none;
  transition: all 0.18s ease;
  z-index: 4;
}

.campo-select .campo-control-select::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 8.625L12 15.375L5.25 8.625" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 4;
}

.campo-select .field-spinner {
  position: absolute;
  right: 30px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #b3b3b3;
  border-top-color: #000000;
  border-radius: 50%;
  animation: field-spinner-spin 0.8s linear infinite;
  display: none;
  pointer-events: none;
  z-index: 4;
}

.campo-select.is-loading .field-spinner {
  display: block;
}

@keyframes field-spinner-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.campo-select.centro-open .pseudo-native-dropdown {
  display: block;
}


.campo-select:focus-within label,
.campo-select.tiene-valor label {
  top: 4px;
  transform: translateY(0);
  font-size: 13px;
  line-height: 1.2;
  color: #737373;
  right: 32px;
  white-space: normal;
}

.orden-curso-actual.campo-select.pseudo-open label,
.orden-curso-actual.campo-select.abierto label,
.orden-curso-interes.campo-select.pseudo-open label,
.orden-curso-interes.campo-select.abierto label {
  top: 4px;
  transform: translateY(0);
  font-size: 13px;
  line-height: 1.2;
  color: #737373;
  right: 32px;
  white-space: normal;
}


.campo-calendario:focus-within label,
.campo-calendario.tiene-valor label {
  top: 4px;
  transform: translateY(0);
  font-size: 13px;
  line-height: 1.2;
  color: #737373;
  right: 32px;
  white-space: normal;
}

.campo-calendario select:valid ~ label {
  top: 4px;
  transform: translateY(0);
  font-size: 13px;
  line-height: 1.2;
  color: #737373;
  right: 32px;
  white-space: normal;
}

.campo-select.valid .campo-control-select::after {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 8.625L12 15.375L5.25 8.625" stroke="%2334C759" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.campo-select.abierto .campo-control-select::after,
.campo-select.pseudo-open .campo-control-select::after {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 15.375L12 8.625L5.25 15.375" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') !important;
}

.campo-select.invalid .campo-control-select::after {
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 8.625L12 15.375L5.25 8.625" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.pseudo-native-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border-radius: inherit;
}

.pseudo-native-dropdown {
  position: absolute;
  left: calc(-1 * var(--campo-control-border-width, 1px));
  width: calc(100% + (2 * var(--campo-control-border-width, 1px)));
  right: auto;
  top: 100%;
  margin-top: 4px;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #b3b3b3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 900;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.pseudo-native-dropdown.select-scroll-7 {
  max-height: none;
  overflow: visible;
}

.pseudo-native-dropdown.select-scroll-7:not(:has(.pseudo-native-search)) .pseudo-native-options {
  max-height: calc(7 * 2.4em);
  overflow-y: auto;
}

.pseudo-native-options {
  max-height: calc(7 * 2.4em);
  overflow-y: auto;
  flex: 1 1 auto;
}

.pseudo-native-search {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  flex-shrink: 0;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 4px 4px 0 0;
  padding: 8px 10px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.25;
  min-height: 40px;
  height: auto;
  outline: none;
  box-sizing: border-box;
  background-color: #ffffff;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.campo-select.open-up .pseudo-native-options {
  flex: 1 1 auto;
  min-height: 0;
}

.pseudo-native-search:focus {
  border-bottom-color: #787878;
  background-color: #ffffff;
}

.pseudo-native-search:valid {
  background-color: #ffffff;
}

.pseudo-native-search:-webkit-autofill,
.pseudo-native-search:-webkit-autofill:hover,
.pseudo-native-search:-webkit-autofill:focus {
  -webkit-text-fill-color: #000000;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-in-out 0s;
}

.campo-select.pseudo-open .pseudo-native-dropdown {
  display: flex;
}

.campo-select.open-up .pseudo-native-dropdown {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 4px;
  flex-direction: column-reverse;
}

.campo-select.open-up .pseudo-native-search {
  border-bottom: none;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 4px 4px;
}

.pseudo-native-option {
  padding: 8px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pseudo-native-option:hover,
.pseudo-native-option[aria-selected="true"] {
  background-color: #f5f5f5;
}

.campo-prefijo {
  width: 160px;
  flex-shrink: 0;
  min-width: 0;
  position: relative;
  overflow: visible;
}

/* Dropdown prefijo: ancho de fila completa (prefijo + gap + teléfono) vía syncPrefijoDropdownGeometry() */
.campo-prefijo .campo-control-select {
  overflow: visible;
}

.campo-telefono {
  flex: 1 1 auto;
  min-width: 0;
}

.fila-prefijo-telefono {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
}

.fila-prefijo-telefono > .campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.fila-prefijo-telefono > .campo-prefijo {
  flex: 0 0 160px;
  width: 160px;
}

.fila-prefijo-telefono > .campo-telefono {
  flex: 1 1 auto;
  min-width: 0;
}

.fila-prefijo-telefono > .campo-telefono .mensaje-error {
  width: 100%;
}

.campo-calendario.tiene-valor select {
  font-weight: 700;
}

.testback-resumen {
  margin: 8px 0 16px 8px;
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 12px 14px;
  max-width: 700px;
  width: 100%;
  margin-right: auto;
}

.testback-resumen-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.testback-resumen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.testback-resumen-item {
  display: block;
  border: 1px solid #b3b3b3;
  padding: 6px 8px;
  border-radius: 6px;
}

.testback-resumen-text {
  color: #000000;
  word-break: break-word;
}
.campo-toggle {
  display: flex;
  margin-bottom: 8px;
}

.toggle-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  width: 40px;
  height: 22px;
  left: 0;
  top: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  z-index: 2;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-right: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-input:focus {
  outline: none;
}

.slider {
  position: absolute;
  inset: 0;
  background-color: #cccccc;
  border-radius: 999px;
  transition: background-color 0.25s;
  box-sizing: border-box;
}

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.toggle-input:checked + .switch .slider {
  background-color: #40c85d;
}

.toggle-input:checked + .switch .slider::before {
  transform: translateX(18px);
}

.texto-aviso {
  font-size: 16px;
}

.texto-aviso a {
  color: #000000;
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(115, 115, 115, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-contenido {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  position: relative;
  max-width: 540px;
  width: 100%;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-header h2 {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  flex: 1 1 auto;
}

.cerrar-modal,
.cerrar-modal-titulacion {
  border: none;
  background-color: transparent;
  cursor: pointer;
  width: 20px;
  height: 20px;
  padding: 0;
  background-image: url('data:image/svg+xml;utf8,<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6239 8.5026L16.5614 2.5651C16.8431 2.28381 17.0017 1.90209 17.002 1.50393C17.0024 1.10576 16.8445 0.72377 16.5632 0.441977C16.2819 0.160185 15.9002 0.00167771 15.5021 0.00132608C15.1039 0.000974453 14.7219 0.158807 14.4401 0.440102L8.5026 6.3776L2.5651 0.440102C2.28331 0.15831 1.90112 0 1.5026 0C1.10409 0 0.721895 0.15831 0.440102 0.440102C0.15831 0.721895 0 1.10409 0 1.5026C0 1.90112 0.15831 2.28331 0.440102 2.5651L6.3776 8.5026L0.440102 14.4401C0.15831 14.7219 0 15.1041 0 15.5026C0 15.9011 0.15831 16.2833 0.440102 16.5651C0.721895 16.8469 1.10409 17.0052 1.5026 17.0052C1.90112 17.0052 2.28331 16.8469 2.5651 16.5651L8.5026 10.6276L14.4401 16.5651C14.7219 16.8469 15.1041 17.0052 15.5026 17.0052C15.9011 17.0052 16.2833 16.8469 16.5651 16.5651C16.8469 16.2833 17.0052 15.9011 17.0052 15.5026C17.0052 15.1041 16.8469 14.7219 16.5651 14.4401L10.6239 8.5026Z" fill="black"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
}

.modal-cuerpo {
  font-size: 14px;
  line-height: 1.5;
}

.modal-cuerpo p {
  margin-top: 0;
  margin-bottom: 12px;
}

.modal-cuerpo a {
  color: #000000;
  text-decoration: underline;
}
.boton-enviar {
  width: 100%;
  max-width: 370px;
  height: 48px;
  background-color: #EDEDED;
  border: 1px solid #000000;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  cursor: not-allowed;
  color: #000000;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.boton-enviar:not(.boton-activo):hover {
  cursor: not-allowed;
}

.boton-enviar.boton-activo {
  background-color: #000000;
  color: #ffffff;
  cursor: pointer;
}

.boton-enviar.boton-activo:hover,
.boton-enviar.boton-activo:active {
  background-color: #000000;
  color: #ffffff;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.boton-enviar:disabled {
  background-color: #ededed;
  color: #000000;
  cursor: not-allowed;
  pointer-events: auto;
}

.campo-asistentes {
  width: 100%;
}

.campo-asistentes.flotante .campo-control {
  height: 48px;
  min-height: 48px;
}

.campo-asistentes.flotante input {
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  text-align: right;
  padding: 18px 44px 8px 12px;
}

.campo-asistentes.flotante:focus-within input {
  caret-color: #000000;
}

.campo-asistentes.flotante input:focus + label,
.campo-asistentes.flotante input:not(:placeholder-shown) + label {
  top: 4px;
  left: 12px;
  right: 44px;
  transform: translateY(0);
  font-size: 13px;
  line-height: 1.2;
  white-space: normal;
  color: #737373;
  z-index: 1;
}

.campo-asistentes .asistentes-valor {
  position: absolute;
  right: 44px;
  top: 18px;
  bottom: auto;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
  pointer-events: none;
  z-index: 2;
}

.campo-asistentes.invalid .asistentes-valor {
  color: #ff0000;
}

.campo-asistentes .numero-stepper {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
}

.campo-asistentes .numero-step-btn {
  width: 20px;
  height: 16px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campo-asistentes .numero-step-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.campo-asistentes:focus-within .numero-step-btn svg path {
  stroke: #000000;
}

.campo-asistentes:not(:focus-within) .numero-step-btn svg path {
  stroke: #40c85d;
}

.campo-asistentes input[type="number"] {
  -moz-appearance: textfield;
}

.campo-asistentes input[type="number"]::-webkit-outer-spin-button,
.campo-asistentes input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (min-width: 768px) {
  .formulario {
    max-width: 768px;
  }

  .form-columns {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
  }

  .form-column {
    flex: 0 0 370px;
    max-width: 370px;
  }

  .layout-online .campo-oculto {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  .form-column + .form-column {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .contenedor-principal {
    padding: 16px 8px;
  }

  .modal-titulacion-contenido {
    width: 100%;
  }

  .modal-contenido {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 16px;
    margin: 0;
  }
}
/* #region LOADING */
#loadingContainer {
  display: none;
}

#loadingContainer table {
  width: 100%;
  max-width: 100%;
}

#loadingContainer img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto;
  object-fit: contain !important;
  margin: 0 auto;
  box-sizing: border-box;
}

.ty-page img {
  max-width: 100% !important;
  object-fit: contain !important;
  box-sizing: border-box;
}

span[class^="dot-"] {
  opacity: 0;
}

.dot-one {
  animation: dot-one 2s infinite linear;
}

.dot-two {
  animation: dot-two 2s infinite linear;
}

.dot-three {
  animation: dot-three 2s infinite linear;
}

@keyframes dot-one {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dot-two {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dot-three {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
/* #region TY PAGE */
.ty-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  text-align: center;
}

.ty-hero,
.ty-footer {
  display: flex;
  justify-content: center;
}

.ty-hero-image {
  display: block;
  padding: 0px;
  text-align: center;
  height: auto;
  width: 100%;
  border: 0px;
}

.ty-content {
  margin: 28px 20px 18px;
  text-align: center;
}

.ty-title,
.ty-subtitle {
  font-size: 26px;
  color: #ff0000;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.ty-title {
  margin-bottom: 0;
}

.ty-text {
  padding: 0px 6px;
  margin: 0;
  margin-top: 12px;
  font-family: Verdana, Geneva, sans-serif;
}

@media (min-width: 768px) {
  .ty-content {
    margin: 42px 42px 23px;
  }

  .ty-title,
  .ty-subtitle {
    font-size: 44px;
    line-height: 1.15;
  }

  .ty-text {
    padding: 0px 99px;
  }

  .ty-footer-image {
    padding: 0px;
    max-width: 650px;
  }
}

.ty-footer-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  object-fit: contain;
}

.ty-footer {
  width: 100%;
  max-width: 100%;
  margin: 16px auto;
  padding: 0;
  box-sizing: border-box;
}
/* #endregion TY PAGE */

.no-curso-text {
  text-align: left;
  padding: 0px 99px;
  margin-top: 32px;
}

.no-curso-text span {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
}

.bottom-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border-top: 47px solid transparent;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  object-fit: contain;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .bottom-image {
    max-width: 650px;
  }
}

@media screen and (max-width: 768px) {
  .bottom-image {
    border-top: 15px solid transparent;
  }

  .no-curso-text {
    padding: 0px 20px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 480px) {
  .bottom-image {
    border-top: 10px solid transparent;
  }

  .no-curso-text {
    padding: 0px 15px;
    margin-top: 15px;
  }

  .no-curso-text h3 {
    font-size: 18px;
  }

  .no-curso-text span {
    font-size: 14px;
  }
}

/* #endregion NO COURSE MESSAGE */

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgb(70, 70, 70) auto;
}


.campo-oculto { display: none !important; }

@media (max-width: 767px) {
  .form-columns { display: flex; flex-direction: column; }
  .form-column { display: contents; }

  .fila-prefijo-telefono {
    display: grid;
    grid-template-columns: minmax(115px, 30%) 1fr;
    column-gap: 12px;
    row-gap: 0;
    align-items: start;
  }

  .fila-prefijo-telefono > .campo-prefijo,
  .fila-prefijo-telefono > .campo-telefono {
    flex: none;
    min-width: 0;
  }

  .fila-prefijo-telefono > .campo-prefijo {
    width: auto;
    max-width: none;
  }

  .campo-prefijo {
    width: auto;
  }

  .fila-prefijo-telefono > .campo-prefijo .campo-control-select::after {
    right: 6px;
  }

  .fila-prefijo-telefono > .campo-prefijo label,
  .fila-prefijo-telefono > .campo-prefijo .pseudo-select-value-text {
    right: 24px;
  }

  .fila-prefijo-telefono > .campo-prefijo select {
    padding-right: 24px;
  }

  .fila-prefijo-telefono::after {
    content: '';
    display: block;
    grid-column: 1 / -1;
    min-height: 17px;
  }

  .fila-prefijo-telefono:has(> .campo-prefijo.invalid .mensaje-error, > .campo-telefono.invalid .mensaje-error, > .campo .mensaje-error.visible)::after {
    display: none;
  }

  .fila-prefijo-telefono > .campo-prefijo .mensaje-error,
  .fila-prefijo-telefono > .campo-telefono .mensaje-error {
    position: static;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.25;
  }

  .fila-prefijo-telefono > .campo-prefijo:not(.invalid) .mensaje-error:not(.visible),
  .fila-prefijo-telefono > .campo-telefono:not(.invalid) .mensaje-error:not(.visible) {
    visibility: hidden;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .fila-prefijo-telefono > .campo-prefijo .mensaje-error.visible,
  .fila-prefijo-telefono > .campo-telefono .mensaje-error.visible,
  .fila-prefijo-telefono > .campo-prefijo.tocado.invalid .mensaje-error,
  .fila-prefijo-telefono > .campo-telefono.tocado.invalid .mensaje-error,
  .fila-prefijo-telefono > .campo-prefijo.invalid .mensaje-error,
  .fila-prefijo-telefono > .campo-telefono.invalid .mensaje-error {
    visibility: visible;
    min-height: 0;
    height: auto;
    margin-top: 1px;
    overflow: visible;
  }

  .campo-select-label-largo:not(.tiene-valor):not(:focus-within):not(.pseudo-open):not(.abierto) .campo-control-select {
    height: auto;
    min-height: 56px;
  }

  .campo-calendario .campo-control-select {
    height: auto;
    min-height: 56px;
  }

  .campo-calendario.tiene-valor .campo-control-select,
  .campo-calendario:focus-within .campo-control-select,
  .campo-calendario.pseudo-open .campo-control-select,
  .campo-calendario.abierto .campo-control-select {
    min-height: 72px;
  }

  .campo-calendario.tiene-valor .pseudo-select-value-text,
  .campo-calendario:focus-within .pseudo-select-value-text {
    top: auto;
    bottom: 10px;
    left: 12px;
    right: 32px;
  }

  .campo-calendario.tiene-valor select,
  .campo-calendario:focus-within select {
    min-height: 72px;
    padding-top: 38px;
    padding-bottom: 10px;
  }

  .layout-online .orden-modalidad { order: 11; }
  .layout-online .orden-nombre { order: 1; }
  .layout-online .orden-apellidos { order: 2; }
  .layout-online .orden-email { order: 3; }
  .layout-online .orden-pais { order: 5; }
  .layout-online .orden-provincia { order: 6; }
  .layout-online .orden-localidad { order: 7; }
  .layout-online .orden-prefijo-telefono { order: 8; }
  .layout-online .orden-aviso { order: 12; }
  .layout-online .orden-required-cbox-wrap { order: 13; }
  .layout-online .orden-boton { order: 14; }
  .layout-online .orden-facultad { order: 9; }
  .layout-online .orden-titulacion { order: 10; }
  .layout-online .orden-asistentes { order: 15; }

  .layout-presencial .orden-modalidad { order: 1; }
  .layout-presencial .orden-nombre { order: 2; }
  .layout-presencial .orden-apellidos { order: 3; }
  .layout-presencial .orden-email { order: 4; }
  .layout-presencial .orden-pais { order: 5; }
  .layout-presencial .orden-provincia { order: 6; }
  .layout-presencial .orden-localidad { order: 7; }
  .layout-presencial .orden-prefijo-telefono { order: 8; }
  .layout-presencial .orden-facultad { order: 9; }
  .layout-presencial .orden-titulacion { order: 10; }
  .layout-presencial .orden-asistentes { order: 11; }
  .layout-presencial .orden-aviso { order: 12; }
  .layout-presencial .orden-required-cbox-wrap { order: 13; }
  .layout-presencial .orden-boton { order: 14; }
}

.c-red { color: #ff0000; }
