.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: var(--color-background);
  border-radius: var(--border-radius);
  padding: var(--spacing-medium);
  width: calc(100% - var(--spacing-medium) * 2);
  max-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 var(--spacing-medium);
}

.header {
  margin-bottom: var(--spacing-medium);
}

.title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--spacing-small);
}

.message {
  font-size: 14px;
  margin-bottom: var(--spacing-small);
  line-height: 1.4;
}

.promptContainer {
  background-color: var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--spacing-small);
  margin-bottom: var(--spacing-medium);
  max-height: 100px;
  overflow-y: auto;
}

.promptLabel {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-secondary);
}

.promptText {
  font-size: 12px;
  word-break: break-word;
  font-family: monospace;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-small);
}

.button {
  flex: 1;
  padding: var(--spacing-small);
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.primaryButton {
  background-color: var(--color-primary);
  color: white;
}

.primaryButton:hover {
  background-color: #1976D2;
}

.secondaryButton {
  background-color: var(--color-border);
  color: var(--color-text);
}

.secondaryButton:hover {
  background-color: #d0d0d0;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(var(--color-text-rgb), 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: var(--spacing-small);
  vertical-align: middle;
}

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