/* Modal global — Guías de usuario (próximamente) */
body.nic-guias-modal-open {
  overflow: hidden;
}

.nic-guias-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.nic-guias-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nic-guias-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 62, 0.55);
}

.nic-guias-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  background: #fff;
  border-radius: 12px;
  padding: 2.75rem 2.25rem 2.25rem;
  box-shadow: 0 24px 64px rgba(13, 27, 62, 0.22);
  text-align: center;
}

.nic-guias-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #182654;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.nic-guias-modal__close:hover {
  background: rgba(24, 38, 84, 0.08);
}

.nic-guias-modal__icon {
  width: 136px;
  height: 136px;
  margin: 0 auto 1.75rem;
}

.nic-guias-modal__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nic-guias-modal__title {
  margin: 0 auto 1rem;
  max-width: 26rem;
  color: #182654;
  font-size: clamp(1.625rem, 2.8vw, 2rem);
  line-height: 1.22;
  font-weight: 800;
}

.nic-guias-modal__text {
  margin: 0 auto 2rem;
  max-width: 30rem;
  color: #4a5568;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
}

.nic-guias-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border-radius: 10px;
  background: #0066ff;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.nic-guias-modal__btn:hover {
  background: #0052cc;
  color: #fff !important;
  transform: none;
}

.nic-guias-modal__btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .nic-guias-modal__dialog {
    padding: 2rem 1.25rem 1.5rem;
  }
}
