.rpa-edc {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  background: rgba(0,0,0,0.02);
}

.rpa-edc h3 {
  margin: 0 0 14px 0;
  font-size: 1.15rem;
}

.rpa-edc .rpa-edc-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
}

@media (max-width: 640px) {
  .rpa-edc .rpa-edc-grid {
    grid-template-columns: 1fr;
  }
}

.rpa-edc label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.rpa-edc input[type="text"],
.rpa-edc select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

.rpa-edc input[readonly] {
  background: rgba(0,0,0,0.04);
}

.rpa-edc .rpa-edc-row {
  margin-bottom: 14px;
}

.rpa-edc .rpa-edc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.rpa-edc button {
  border: 1px solid rgba(0,0,0,0.2);
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 14px;
}

.rpa-edc button:hover {
  background: rgba(0,0,0,0.04);
}

.rpa-edc .rpa-edc-help {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.75);
  margin-top: 10px;
}

.rpa-edc .rpa-edc-error {
  margin-top: 8px;
  color: #8a1f1f;
  font-size: 0.95rem;
  display: none;
}

.rpa-edc .rpa-edc-foot {
  margin-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.10);
  padding-top: 12px;
}

.rpa-edc details {
  margin-top: 8px;
}

.rpa-edc details summary {
  cursor: pointer;
  font-weight: 600;
}

.rpa-edc .rpa-edc-working {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  overflow-x: auto;
}
/* --- Force high-contrast buttons inside the RP Alba converter (override Elementor/theme globals) --- */
.rpa-edc button,
.rpa-edc button:visited,
.rpa-edc button:hover,
.rpa-edc button:active,
.rpa-edc button:focus {
  color: #111 !important;
  background-color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #111 !important; /* helps if a theme uses text-fill tricks */
}

.rpa-edc button:hover {
  background-color: rgba(0,0,0,0.04) !important;
}

.rpa-edc button:focus-visible {
  outline: 2px solid rgba(0,0,0,0.45);
  outline-offset: 2px;
}

