.titulo-global{
  color: #d7262e;
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 25px;
}
.paso {
    display: none;
}
.activo {
    display: block;
}
.form-check-input:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(63, 58, 58, 0.295) !important;
}
.form-check-input {
    border-color: #555 !important;
}
.text-req{
    text-align: justify;
}
.aviso-privacidad{
    color: black;
}
.asterisco{
    color: red;
}
.nota-asterisco{
    font-size: 16px;
}
.foto-eje{
  max-width: 12.5rem;
}
.contenedor{
  display: flex;
  gap: 30px;
}
.caja{
  width: 50%;
  padding: 20px;
}
.caja p{
  text-align: justify;
}
.caja li{
  text-align: justify;
}
.text-form .p1{
  text-align: justify;
}
.texto-paso3 p{
  text-align: justify;
}

@media (max-width: 770px) {
    .contenedor {
        flex-direction: column;
    }
    .contenedor .caja {
        width: 100%;
        flex: none;
        padding: 0;
    }
    .contenedor{
      display: flex;
      gap: 10px;
    }
    .caja{
      display: grid;
      place-items: center;
      text-align: justify;
    }
    .foto-eje{
      max-width: 9rem;
      margin-bottom: 20px;
    }
}

/* ==========================
   TABLA DOCUMENTOS RESPONSIVE
   ========================== */

.tabla-responsive {
  width: 100%;
  overflow: hidden;
}

.tabla-responsive table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.tabla-responsive th,
.tabla-responsive td {
  padding: 6px;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
  white-space: normal;
}

/* Botón siempre visible */
.tabla-responsive button {
  font-size: 0.85rem;
  padding: 4px 8px;
  /*width: 100%;*/
}

/* 📱 MÓVIL */
@media (max-width: 770px) {

  /* Ocultar columna archivo */
  table th.col-archivo,
  table td.col-archivo {
    display: none;
  }

  /* Botón compacto */
  .tabla-responsive button {
    font-size: 0.8rem;
    padding: 4px;
  }

  .titulo-global{
    font-size: 2rem;
  }
}

/* Evita que las columnas se salgan */
.tabla-responsive table {
  width: 100%;
  /*min-width: 600px; /* fuerza scroll en móvil */
}

/* Ajustes para móviles */
@media (max-width: 770px) {

  .tabla-responsive table {
    font-size: 14px;
  }

  .tabla-responsive th,
  .tabla-responsive td {
    /*white-space: nowrap;*/
    text-align: center;
    vertical-align: middle;
  }

}

/* 📱 MÓVIL: ocultar nombre del archivo */
@media (max-width: 770px) {
  .col-archivo {
    display: none;
  }
}
/* 📱 MÓVIL: eliminar completamente la columna */
@media (max-width: 770px) {

  table th.col-archivo,
  table td.col-archivo {
    display: none;
  }

}

#overlayEnvio {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  z-index: 99999;

  display: none; /* se muestra solo al enviar */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  touch-action: none;
}

/* 🔒 Bloquea scroll cuando se está enviando */
body.bloqueado {
  overflow: hidden;
  touch-action: none;
}
