/* === Response Bridge Styles === */

.response-bridge-response,
.response-bridge-confirmation {
  background-color: #f9f9f9;
  border: 1px dashed #ccc;
  padding: 1.5em;
  margin-top: 1.5em;
  font-family: sans-serif;
  font-size: 1rem;
  border-radius: 6px;
}

.response-bridge-result > * + * {
  margin-top: 1rem;
}

.response-bridge-message {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}

.response-bridge-field {
  padding: 0.25em 0;
}

.response-bridge-field strong {
  margin-right: 0.5em;
  color: #555;
}

.response-bridge-link a {
  color: #0066cc;
  text-decoration: underline;
}

.response-bridge-copy {
  background: #eef;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s ease;
}

.response-bridge-copy:hover {
  background: #dde;
}

.response-bridge-video video,
.response-bridge-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.response-bridge-html {
  padding: 1em;
  background: #fff8dc;
  border: 1px solid #eee;
}

.response-bridge-error {
  color: red;
  font-weight: bold;
}

.response-bridge-warning {
  color: #e69d00;
  font-weight: bold;
}

.response-bridge-copy-btn {
  background: transparent;
  border: none;
  margin-left: 0.5em;
  font-size: 1em;
  cursor: pointer;
}
.response-bridge-copy-btn:hover {
  color: #0073aa;
}

/* RESPONSE_BRIDGE: Confirmation Page Styles */
.response-bridge-spinner {
  margin: 3em auto;
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #7f56d9;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.response-bridge-confirmation-box {
  max-width: 600px;
  margin: 2em auto;
  background: white;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.response-bridge-back-link {
  display: block;
  margin-top: 2em;
  text-decoration: none;
  color: #555;
}

.response-bridge-spinner-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px auto;
}

.response-bridge-spinner-ring svg {
  transform: rotate(-90deg);
}

.response-bridge-spinner-ring circle.bg {
  stroke: #eee;
}

.response-bridge-spinner-ring circle.progress {
  stroke: #7f56d9;
  transition: stroke-dashoffset 0.5s ease;
}

.response-bridge-spinner-ring .percentage {
  margin-top: 15px;
  font-weight: bold;
}

