/* Integration Guide Shared Component */
.ig-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 238, 223, 0.12);
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
  color: inherit;
  font-family: inherit;
}
.ig-panel[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.ig-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.ig-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.ig-subtitle {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(243, 238, 223, 0.1);
  padding-bottom: 8px;
}
.ig-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(243, 238, 223, 0.8);
}
.ig-text-small {
  font-size: 13px;
}
.ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}
.ig-btn:focus-visible {
  outline: 2px solid #d0ad62;
  outline-offset: 2px;
}
.ig-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.ig-btn-primary {
  background: #d0ad62;
  color: #101216;
}
.ig-btn-primary:hover {
  background: #e0c27f;
}
.ig-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(243, 238, 223, 0.15);
  color: inherit;
}
.ig-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
.ig-btn-danger {
  background: transparent;
  border-color: rgba(255, 107, 94, 0.4);
  color: #ffaaa1;
}
.ig-btn-danger:hover {
  background: rgba(255, 107, 94, 0.1);
}
.ig-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  border: 1px solid transparent;
}
.ig-alert-error {
  background: rgba(255, 107, 94, 0.08);
  border-color: rgba(255, 107, 94, 0.25);
  color: #ffaaa1;
}
.ig-alert-warning {
  background: rgba(232, 183, 101, 0.08);
  border-color: rgba(232, 183, 101, 0.3);
  color: #e8b765;
}
.ig-list {
  margin: 8px 0 0;
  padding-left: 20px;
}
.ig-list li {
  margin-bottom: 4px;
}
.ig-section {
  margin-top: 24px;
}
.ig-credential-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(243, 238, 223, 0.08);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.ig-credential-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ig-label {
  font-size: 13px;
  color: rgba(243, 238, 223, 0.6);
}
.ig-code {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.ig-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 500;
}
.ig-badge-success {
  background: rgba(63, 214, 147, 0.1);
  color: #3fd693;
}
.ig-badge-error {
  background: rgba(255, 107, 94, 0.1);
  color: #ffaaa1;
}
.ig-credential-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ig-secret-box {
  background: rgba(232, 183, 101, 0.08);
  border: 1px solid rgba(232, 183, 101, 0.4);
  border-radius: 8px;
  padding: 16px;
}
.ig-secret-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: #e8b765;
  font-size: 14px;
}
.ig-print-hide-note {
  font-size: 11px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ig-secret-value {
  font-family: 'Geist Mono', monospace;
  font-size: 18px;
  word-break: break-all;
  padding: 12px;
  background: #000;
  border-radius: 6px;
  margin-bottom: 16px;
  color: #fff;
}
.ig-secret-value:focus-visible {
  outline: 2px solid #e8b765;
  outline-offset: 2px;
}
.ig-secret-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.ig-warning {
  color: #e8b765;
}
.ig-code-block {
  margin-bottom: 24px;
}
.ig-code-block strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}
.ig-pre {
  background: #0b0d10;
  border: 1px solid rgba(243, 238, 223, 0.1);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
}
.ig-pre:focus-visible {
  outline: 2px solid #d0ad62;
  outline-offset: -2px;
}
.ig-mt-2 {
  margin-top: 8px;
}
.ig-print-only {
  display: none;
}

@media print {
  .ig-no-print {
    display: none !important;
  }
  .ig-print-only {
    display: inline !important;
  }
  .ig-panel {
    border: 1px solid #000;
    background: transparent;
    color: #000;
  }
  .ig-text, .ig-title, .ig-subtitle {
    color: #000;
  }
  .ig-pre {
    border: 1px solid #ccc;
    background: #f9f9f9;
    color: #000;
  }
}
