/* SDK Test Runner — Styles */

.sdkr-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}
.sdkr-header h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text, #e0e0e0);
}
.sdkr-version {
  font-size: 12px;
  color: var(--text3, #888);
  font-family: 'JetBrains Mono', monospace;
}
.sdkr-desc {
  font-size: 13px;
  color: var(--text2, #aaa);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

/* Fixtures panel */
.sdkr-fixtures {
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border, #333);
  border-radius: 6px;
  background: var(--bg1, #1a1a1a);
}
.sdkr-fixture-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sdkr-fixture-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2, #aaa);
  text-transform: uppercase;
  white-space: nowrap;
}
.sdkr-select {
  padding: 4px 8px;
  font-size: 13px;
  background: var(--bg2, #222);
  color: var(--text, #e0e0e0);
  border: 1px solid var(--border, #444);
  border-radius: 4px;
  min-width: 130px;
}
.sdkr-input {
  padding: 4px 8px;
  font-size: 13px;
  background: var(--bg2, #222);
  color: var(--text, #e0e0e0);
  border: 1px solid var(--border, #444);
  border-radius: 4px;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  font-family: 'JetBrains Mono', monospace;
}
.sdkr-input::placeholder {
  color: var(--text3, #666);
  font-family: inherit;
}
.sdkr-fixture-status {
  font-size: 12px;
  color: var(--text3, #888);
  font-family: 'JetBrains Mono', monospace;
}
.sdkr-fixture-note {
  font-size: 11px;
  color: var(--text3, #666);
  margin-top: 6px;
  line-height: 1.4;
}

/* Controls */
.sdkr-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.sdkr-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sdkr-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sdkr-check {
  font-size: 13px;
  color: var(--text, #e0e0e0);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.sdkr-check input { cursor: pointer; }
.sdkr-btn-row {
  display: flex;
  gap: 8px;
}
.sdkr-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border, #444);
  background: var(--bg2, #2a2a2a);
  color: var(--text, #e0e0e0);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.sdkr-btn:hover { background: var(--bg3, #383838); }
.sdkr-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sdkr-btn-primary {
  background: var(--accent, #3b82f6);
  border-color: var(--accent, #3b82f6);
  color: #fff;
}
.sdkr-btn-primary:hover { filter: brightness(1.15); }
.sdkr-btn-danger {
  background: var(--danger, #ef4444);
  border-color: var(--danger, #ef4444);
  color: #fff;
}

/* Summary */
.sdkr-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--bg2, #1e1e1e);
  border-radius: 8px;
  border: 1px solid var(--border, #333);
}
.sdkr-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

/* Table */
.sdkr-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border, #333);
  border-radius: 8px;
}
.sdkr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sdkr-table th {
  text-align: left;
  padding: 8px 10px;
  background: var(--bg2, #1e1e1e);
  color: var(--text2, #aaa);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border, #333);
  position: sticky;
  top: 0;
  z-index: 1;
}
.sdkr-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-subtle, #2a2a2a);
  color: var(--text, #e0e0e0);
  vertical-align: top;
}
.sdkr-table tbody tr:hover {
  background: var(--bg-hover, rgba(255,255,255,0.03));
}
.sdkr-test-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.sdkr-verdict {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.sdkr-ms {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text3, #888);
  text-align: right;
}
.sdkr-detail {
  font-size: 11px;
  color: var(--text3, #888);
  max-width: 400px;
  word-break: break-word;
}

/* Row verdict highlights */
.sdkr-row-sdk_bug td { background: rgba(245, 158, 11, 0.06); }
.sdkr-row-icd_bug td { background: rgba(239, 68, 68, 0.06); }
.sdkr-row-shape_bug td { background: rgba(168, 85, 247, 0.06); }
.sdkr-row-error td { background: rgba(239, 68, 68, 0.08); }
