/* Main CSS - Shared Styles */

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-hover: #30363d;
  --border: #30363d;
  --text-primary: #c9d1d9;
  --text-secondary: #8b949e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Method Badge Colors */
.method-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.method-badge.method-get { background: #238636; color: #fff; }
.method-badge.method-post { background: #1f6feb; color: #fff; }
.method-badge.method-put { background: #bc4c00; color: #fff; }
.method-badge.method-delete { background: #da3633; color: #fff; }
.method-badge.method-patch { background: #8250df; color: #fff; }

/* Status Badge Colors */
.status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.status-badge.status-2xx { background: #238636; color: #fff; }
.status-badge.status-3xx { background: #0969da; color: #fff; }
.status-badge.status-4xx { background: #d29922; color: #fff; }
.status-badge.status-5xx { background: #da3633; color: #fff; }
.status-badge.status-unknown { background: var(--bg-hover); color: var(--text-secondary); }
