/* === ESTILO GENERAL === */
#form-alizintla {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000;
    background: #fff;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 10px;
  }
  
  h3.titulo-seccion {
    font-size: 26px;
    color: #000000;
    margin-bottom: 20px;
  }
  
  section.paso {
    margin-bottom: 30px;
  }
  
  /* === INPUTS Y SELECTS === */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  select {
    width: 100%;
    max-width: 100%;
    background-color: #e6e6e6;
    border: none;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 16px;
    color: #000;
  }
  
  input {
    background-color: #ffffff;
    text-decoration: double;
  }
  
  label {
    font-weight: bold;
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
  }
  
  /* === BOTONES === */
  .botones {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }

  .btn-salir {
    background-color: #ffffff; /* Gris neutral */
    color: rgb(88, 88, 88);
    border: 2px solid rgb(88, 88, 88);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    font-size: 12px;
    transition: background-color 0.2s ease;
  }
  
  .btn-salir:hover {
    background-color: #555;
  }
  

  button,
  .button,
  input[type="submit"] {
    background-color: #000;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  button:hover,
  .button:hover,
  input[type="submit"]:hover {
    background-color: #696969;
  }
  
  button[disabled] {
    opacity: 0.5;
    pointer-events: none;
  }
  
  /* === PROGRESO VISUAL === */
  #barra-progreso {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    position: relative;
  }
  
  #barra-progreso .paso-barra {
    text-align: center;
    flex: 1;
    font-size: 12px;
    position: relative;
  }
  
  #barra-progreso .paso-barra::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    display: block;
    margin: 0 auto 5px;
  }
  
  #barra-progreso {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid #5c5c5c;
    padding-bottom: 10px;
  }
  
  .paso-barra {
    text-align: center;
    flex: 1;
    font-size: 12px;
    color: #999;
    position: relative;
  }
  
  .paso-barra::before {
    content: "";
    width: 14px;
    height: 14px;
    background: #999;
    border-radius: 50%;
    display: block;
    margin: 0 auto 5px;
    transition: all 0.3s ease;
  }
  
  .paso-barra.activo {
    color: #000;
    font-weight: bold;
  }
  
  .paso-barra.activo::before {
    background: #000000;
    transform: scale(1.2);
  }
  
  .resumen-registro {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
  }
  .resumen-registro_1 {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
  }
  .ejecutivo_asignado {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
  }

  .gerente_asignado {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
  }

  .info_bas_s10 {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
  }

  .info_fis_s10 {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    width: 100%;
  }

  .info_acuent_s10 {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    width: 50%;

  }

  .info_ben_s10 {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
  }

  .grupo-confirmacion {
    background: #f9f9f9;
    border: 1px solid #000000;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    display: grid;
  }

  .btn-agregar-beneficiario {
    background: #1f1f1f;
    border: 1px solid #000000;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    display: grid;
    margin: 5px;
  }
  
  .bloque-beneficiario {
    border-color: #bebebe;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
  }
  
  .ben_1 {
    flex: 1;
    min-width: 250px;
  }

  .cliente_1 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
  }
  
  .cliente_1 .campo {
    flex: 1;
    min-width: 250px;
  }
  
  .cliente_1 input {
    width: 100%;
  }
  
  .campo {
    width: 50%;

  }

  .visor-archivo-link {
    background-color: #000000;
    border: 1px solid #000000;
    padding: 2px 5px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 8px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
  }
  
  .visor-archivo-link:hover {
    background-color: #a1a1a1;
    color: #000000;
  }

/*Visor de Documentos  /* 📌 Si usas SweetAlert2 */
/* 🧩 Modal estilo para SweetAlert2 */

.swal2-popup.documento-popup-amplio {
  width: 95vw !important;
  max-width: 95vw !important;
  height: 90vh !important;
  max-height: 200vh !important;
  padding: 5px !important;
  overflow: hidden;
}

.swal2-html-container {
  width: 100% !important;
  height: 100% !important;
  padding: 5px !important;
  margin: 5px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen y PDF */
.swal2-html-container img,
.swal2-html-container iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
  border: none;
}


/* === ESTILO DE SUFIJOS Y PREFIJOS === */
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eee;
  padding: 0 12px;
  border-radius: 6px;
  height: 40px; /* Altura uniforme */
}

.input-wrapper input {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 16px;
  padding: 0;
  margin: 0;
  line-height: 1; /* evita expansión vertical */
  height: 100%;   /* ocupa toda la altura del contenedor */
  outline: none;
  appearance: textfield; /* elimina flechas en campos number (Chrome) */
}

/* Quitar flechas en number (para Webkit/Blink) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.prefijo, .sufijo {
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.input-wrapper2 {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 0 12px;
  border-radius: 6px;
  height: 40px; /* Altura uniforme */
}

.input-wrapper2 input {
  border: none;
  background: #ffffff;
  flex: 1;
  font-size: 16px;
  padding: 0;
  margin: 0;
  line-height: 1; /* evita expansión vertical */
  height: 100%;   /* ocupa toda la altura del contenedor */
  outline: none;
  appearance: textfield; /* elimina flechas en campos number (Chrome) */
  white-space: nowrap;
  width: 40px;
  box-sizing: border-box;
}