.nasperu-libro-reclamaciones {
  --nasperu-reclamos-accent: #2271b1;
  --nasperu-reclamos-border: #c3c4c7;
  --nasperu-reclamos-surface: #ffffff;
  --nasperu-reclamos-field-background: #ffffff;
  --nasperu-reclamos-field-text: inherit;
  --nasperu-reclamos-text: inherit;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  color: var(--nasperu-reclamos-text);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.nasperu-libro-reclamaciones *,
.nasperu-libro-reclamaciones *::before,
.nasperu-libro-reclamaciones *::after {
  box-sizing: border-box;
}

/*
 * Los colores administrativos son una decisión explícita del usuario.
 * Solo cuando existe una configuración guardada se usa !important para
 * superar reglas globales de themes/builders como Elementor sin afectar
 * instalaciones que dejan estas opciones vacías.
 */
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .tit-recl,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-intro,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-outro,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-form > p,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .checkbox-group-recl label,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .radio-group-recl label,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .help-recl,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-modal .modal-content,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-modal .modal-content h2,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-modal .modal-content p,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-form-text-color .nasperu-reclamo-modal-close {
  color: var(--nasperu-reclamos-text) !important;
}

.nasperu-libro-reclamaciones .tit-recl {
  margin: 0 0 20px;
  font-family: inherit;
  color: inherit;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-intro,
.nasperu-libro-reclamaciones .nasperu-reclamo-outro {
  color: inherit;
  font: inherit;
  line-height: 1.6;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-intro {
  margin: 0 0 20px;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-outro {
  margin: 20px 0 0;
}

.nasperu-libro-reclamaciones input::placeholder,
.nasperu-libro-reclamaciones textarea::placeholder {
  color: inherit;
  opacity: 0.68;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-form > p {
  margin: 18px 0 10px;
  font-weight: 600;
}

.nasperu-libro-reclamaciones .form-grid-recl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.nasperu-libro-reclamaciones input[type="text"],
.nasperu-libro-reclamaciones input[type="tel"],
.nasperu-libro-reclamaciones input[type="email"],
.nasperu-libro-reclamaciones select,
.nasperu-libro-reclamaciones textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--nasperu-reclamos-border);
  border-radius: 4px;
  background-color: var(--nasperu-reclamos-field-background);
  color: var(--nasperu-reclamos-field-text);
  font: inherit;
  line-height: 1.4;
  box-shadow: none;
}

.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-background-color input[type="text"],
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-background-color input[type="tel"],
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-background-color input[type="email"],
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-background-color select,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-background-color textarea {
  background-color: var(--nasperu-reclamos-field-background) !important;
}

.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color input[type="text"],
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color input[type="tel"],
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color input[type="email"],
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color select,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color textarea {
  color: var(--nasperu-reclamos-field-text) !important;
  -webkit-text-fill-color: var(--nasperu-reclamos-field-text) !important;
  caret-color: var(--nasperu-reclamos-field-text);
}

.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color input[type="text"]::placeholder,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color input[type="tel"]::placeholder,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color input[type="email"]::placeholder,
.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color textarea::placeholder {
  color: var(--nasperu-reclamos-field-text) !important;
  -webkit-text-fill-color: var(--nasperu-reclamos-field-text) !important;
  opacity: 0.68;
}

.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-text-color select option {
  color: var(--nasperu-reclamos-field-text) !important;
}

.nasperu-libro-reclamaciones.nasperu-reclamos-has-field-background-color select option {
  background-color: var(--nasperu-reclamos-field-background) !important;
}

.nasperu-libro-reclamaciones textarea {
  min-height: 140px;
  resize: vertical;
}

.nasperu-libro-reclamaciones input[type="text"]:focus,
.nasperu-libro-reclamaciones input[type="tel"]:focus,
.nasperu-libro-reclamaciones input[type="email"]:focus,
.nasperu-libro-reclamaciones select:focus,
.nasperu-libro-reclamaciones textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--nasperu-reclamos-accent) 35%, transparent);
  outline-offset: 1px;
  border-color: var(--nasperu-reclamos-accent);
}

@supports not (color: color-mix(in srgb, black 50%, white)) {
  .nasperu-libro-reclamaciones input[type="text"]:focus,
  .nasperu-libro-reclamaciones input[type="tel"]:focus,
  .nasperu-libro-reclamaciones input[type="email"]:focus,
  .nasperu-libro-reclamaciones select:focus,
  .nasperu-libro-reclamaciones textarea:focus {
    outline: 2px solid var(--nasperu-reclamos-accent);
  }
}

.nasperu-libro-reclamaciones .single-column-recl,
.nasperu-libro-reclamaciones .notification-recl {
  margin-bottom: 20px;
}

.nasperu-libro-reclamaciones .checkbox-group-recl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.nasperu-libro-reclamaciones .checkbox-group-recl label,
.nasperu-libro-reclamaciones .radio-group-recl label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.nasperu-libro-reclamaciones input[type="checkbox"],
.nasperu-libro-reclamaciones input[type="radio"] {
  flex: 0 0 auto;
  margin: 0;
}

.nasperu-libro-reclamaciones .radio-group-recl {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0 14px;
}

.nasperu-libro-reclamaciones .help-recl {
  margin-top: -8px;
  font-size: 0.9em;
  opacity: 0.78;
}

.nasperu-libro-reclamaciones .btn-recl-lib,
.nasperu-libro-reclamaciones .nasperu-reclamo-modal-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--nasperu-reclamos-accent);
  border-radius: 4px;
  background: var(--nasperu-reclamos-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}

.nasperu-libro-reclamaciones .btn-recl-lib:hover,
.nasperu-libro-reclamaciones .btn-recl-lib:focus,
.nasperu-libro-reclamaciones .nasperu-reclamo-modal-accept:hover,
.nasperu-libro-reclamaciones .nasperu-reclamo-modal-accept:focus {
  filter: brightness(0.92);
  color: #fff;
}

.nasperu-libro-reclamaciones .btn-submit-recl[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}

.nasperu-libro-reclamaciones .nasperu-reclamo-modal .modal-content {
  position: relative;
  width: min(100%, 420px);
  margin: 12vh auto 0;
  padding: 24px;
  border-radius: 8px;
  background: var(--nasperu-reclamos-surface);
  color: inherit;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.24);
}

.nasperu-libro-reclamaciones .nasperu-reclamo-modal .modal-content h2,
.nasperu-libro-reclamaciones .nasperu-reclamo-modal .modal-content p {
  color: inherit;
  font-family: inherit;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.nasperu-libro-reclamaciones .nasperu-reclamo-modal-accept {
  margin-top: 15px;
}

@media (max-width: 768px) {
  .nasperu-libro-reclamaciones .form-grid-recl,
  .nasperu-libro-reclamaciones .checkbox-group-recl {
    grid-template-columns: 1fr;
  }

  .nasperu-libro-reclamaciones .radio-group-recl {
    flex-direction: column;
    gap: 8px;
  }

  .nasperu-libro-reclamaciones .nasperu-reclamo-modal {
    padding: 16px;
  }
}
