/* ORD-20261107-015 T2a */
.rgps-ciph-fondo {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center;
  justify-content: center; padding: 16px; box-sizing: border-box;
  background: rgba(15, 23, 42, .5); overflow: auto;
}
.rgps-ciph-modal {
  box-sizing: border-box; width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto;
  padding: 22px; border-radius: var(--radio, 10px); background: #fff;
  color: var(--texto, #1E293B); font-family: inherit; font-size: 14px;
  line-height: 1.5; box-shadow: 0 16px 48px rgba(0, 0, 0, .25); overflow-wrap: anywhere;
}
.rgps-ciph-titulo { margin: 0 0 12px; font-size: 21px; color: var(--azul, #1A3C8F); }
.rgps-ciph-pasos { padding-left: 22px; }
.rgps-ciph-pasos li { margin: 8px 0; }
.rgps-ciph-aviso {
  color: #991B1B; background: #FEF2F2; border: 1px solid #FECACA;
  border-radius: 8px; padding: 10px;
}
.rgps-ciph-datos { margin-top: 16px; }
.rgps-ciph-datos[hidden] { display: none; }
.rgps-ciph-campo { display: flex; align-items: end; gap: 8px; margin: 12px 0; min-width: 0; }
.rgps-ciph-etiqueta { flex: 1; min-width: 0; font-weight: 600; }
.rgps-ciph-valor {
  display: block; box-sizing: border-box; width: 100%; min-width: 0; margin-top: 4px;
  border: 1px solid var(--borde, #CBD5E1); border-radius: 6px; padding: 9px;
  font: inherit; font-weight: 400; color: var(--texto, #1E293B); background: #F8FAFC;
}
.rgps-ciph-boton { min-height: 40px; justify-content: center; white-space: normal; }
.rgps-ciph-boton:focus-visible, .rgps-ciph-valor:focus-visible {
  outline: 2px solid var(--azul, #1A3C8F); outline-offset: 2px;
}
.rgps-ciph-ajuste { margin: 4px 0; }
.rgps-ciph-error { color: #991B1B; }
.rgps-ciph-estado { color: var(--azul, #1A3C8F); }
.rgps-ciph-error:empty, .rgps-ciph-estado:empty { display: none; }
.rgps-ciph-pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; }
.rgps-ciph-quitar { color: #991B1B; }
@media (max-width: 400px) {
  .rgps-ciph-fondo { padding: 8px; }
  .rgps-ciph-modal { padding: 14px; }
  .rgps-ciph-campo { flex-direction: column; align-items: stretch; }
  .rgps-ciph-pie .rgps-ciph-boton { flex: 1 1 100%; }
}
