/* Response display styles */
.response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-shrink: 0;
  min-height: 44px;
  overflow: visible;
}

.response-header h2 {
  margin: 0;
  line-height: 1.2;
}

.response {
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: 6px;
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  font-family: "Courier New", monospace;
  font-size: 13px;
  white-space: pre-wrap;
  line-height: 1.5;
  transition: background 0.3s, color 0.3s;
}

.response.error {
  color: #f48771;
}

.response pre {
  margin: 0;
  font-family: inherit;
}

.response code {
  font-family: inherit;
  background: none;
  padding: 0;
}

.response::-webkit-scrollbar {
  width: 8px;
}

.response::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 10px;
}

.response::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 10px;
}

/* Mobile adjustments for response */
@media (max-width: 768px) {
  .response-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: auto;
  }

  .response-header h2 {
    margin: 0;
    flex-shrink: 0;
  }

  .response {
    padding: 12px;
    font-size: 12px;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .response {
    padding: 10px;
    font-size: 11px;
  }
}
