/* ===========================================================
   HTTP CLIENT STYLES
=========================================================== */
.hp-root .hp-body { gap: 4px; }
.hp-req-pane, .hp-resp-pane { flex: 1; min-width: 0; }
.hp-send { background: #008000 !important; color: #ffffff !important; font-weight: bold; }

.hp-req-body, .hp-resp-body {
  flex: 1; overflow: auto; background: #ffffff;
  display: flex; flex-direction: column; min-height: 0;
}
.hp-tabs, .hp-resp-tabs {
  display: flex; background: #c0c0c0;
  border-bottom: 1px solid #808080;
  flex-shrink: 0;
}
.hp-tab {
  background: #c0c0c0; border: none;
  border-right: 1px solid #808080;
  padding: 4px 12px;
  font-family: Verdana, sans-serif; font-size: 11px;
  cursor: pointer; color: #404040;
}
.hp-tab.active { background: #ffffff; color: #000080; font-weight: bold; }
.hp-tab-content, .hp-rtab-content {
  flex: 1; overflow: auto;
  padding: 8px; min-height: 0;
}

.hp-kv-row {
  display: flex; gap: 4px; margin-bottom: 4px;
}
.hp-kv-row input[type=text] {
  flex: 1; border: 2px inset #ffffff; background: #ffffff;
  padding: 3px 6px; font-family: "Courier New", monospace;
  font-size: 12px;
}
.hp-kv-row input:first-child { flex: 0 0 30%; }
.hp-x {
  background: #c0c0c0; border: 1px solid #808080;
  width: 24px; cursor: pointer;
  font-family: Verdana, sans-serif; color: #800000;
  font-weight: bold;
}
.hp-x:hover { background: #ffcccc; }

.hp-body-toolbar { margin-bottom: 8px; }
#hp-body {
  width: 100%; box-sizing: border-box;
  min-height: 200px; resize: vertical;
  border: 2px inset #ffffff; background: #ffffff;
  padding: 6px 8px;
  font-family: "Courier New", monospace; font-size: 12px;
  color: #000;
}

.hp-resp-summary {
  font-family: Verdana, sans-serif; font-weight: normal;
}
.hp-status-pill {
  display: inline-block; padding: 1px 8px;
  font-size: 10px; color: #ffffff; border-radius: 8px;
  font-family: Verdana, sans-serif; font-weight: bold;
}
.hp-status-pill.ok { background: #008000; }
.hp-status-pill.warn { background: #c08000; }
.hp-status-pill.err { background: #a00000; }
.hp-time, .hp-size {
  font-family: "Courier New", monospace; font-size: 11px;
  color: #cce4ff; margin-left: 8px;
}

.hp-body-pre {
  margin: 0; padding: 8px 12px;
  background: #ffffff;
  font-family: "Courier New", monospace; font-size: 12px;
  color: #000080;
  white-space: pre-wrap; word-wrap: break-word;
  overflow: auto; min-height: 0;
}
.hp-headers-table {
  width: 100%; border-collapse: collapse;
  font-family: Verdana, sans-serif; font-size: 11px;
}
.hp-headers-table td {
  padding: 3px 8px; border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}
.hp-headers-table tr:nth-child(even) td { background: #f8f8f8; }
.hp-headers-table td:first-child {
  font-weight: bold; color: #000080;
  font-family: "Courier New", monospace;
  white-space: nowrap;
}
.hp-headers-table code {
  font-family: "Courier New", monospace; font-size: 11px;
  word-break: break-all;
}

.hp-empty {
  padding: 30px; text-align: center;
  color: #808080; font-style: italic;
  font-family: Verdana, sans-serif;
}
.hp-empty.hp-err {
  color: #a00000; font-style: normal;
  text-align: left; padding: 16px;
  background: #ffeeee;
  font-family: Verdana, sans-serif;
}
