/* HTTP simulator specific styles */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

.input-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.input-field, .select-field, .textarea-field {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.textarea-field {
  min-height: 80px;
  resize: vertical;
  font-family: monospace;
}

.input-field:focus, .select-field:focus, .textarea-field:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.method-select {
  width: 100px;
  flex: none;
}

.result-display {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 16px;
  font-family: monospace;
  font-size: 12px;
  color: #495057;
  margin-top: 12px;
  transition: all 0.3s ease;
  min-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.result-display.has-value {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-color: #28a745;
  color: #155724;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.loading {
  display: none;
  text-align: center;
  padding: 20px;
  color: #667eea;
}

.loading.show {
  display: block;
}

.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.status-success {
  color: #28a745;
  font-weight: 600;
}

.status-error {
  color: #dc3545;
  font-weight: 600;
}

.status-info {
  color: #17a2b8;
  font-weight: 600;
}

.header-item {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.header-item input {
  flex: 1;
}

.add-header-btn {
  padding: 4px 8px;
  font-size: 12px;
}