/* ==============================================
   developer.css - Developer Page Styles
   ============================================== */

/* Developer Page Styles */
.dev-page-header {
  background: linear-gradient(to right, #f8fafc, #f1f5f9);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.dev-page-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}

.dev-page-title {
  font-weight: 700;
  font-size: 1.75rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.dev-page-subtitle {
  color: #64748b;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.dev-tabs-container {
  display: inline-flex;
  background: white;
  padding: 4px;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  gap: 4px;
}

/* Dark theme support for developer page */
:root[data-theme="dark"] .dev-page-header {
  background: linear-gradient(to right, rgba(30, 41, 59, 0.5), rgba(30, 41, 59, 0.3));
  border-color: var(--stroke);
}

:root[data-theme="dark"] .dev-page-title {
  color: var(--text);
}

:root[data-theme="dark"] .dev-page-subtitle {
  color: var(--muted);
}

:root[data-theme="dark"] .dev-tabs-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
}

/* Tab buttons */
.dev-tab-btn {
  padding: 0.5rem 1.25rem;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.dev-tab-btn:hover {
  color: #334155;
  background: rgba(0, 0, 0, 0.04);
}

.dev-tab-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

:root[data-theme="dark"] .dev-tab-btn {
  color: var(--muted);
}

:root[data-theme="dark"] .dev-tab-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .dev-tab-btn.active {
  color: white;
}

/* Stress test stat cards */
.stress-stat-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border: 1px solid rgba(102, 126, 234, 0.15);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  min-width: 0;
}

.stress-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.stress-stat-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.125rem;
}

:root[data-theme="dark"] .stress-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--stroke);
}

:root[data-theme="dark"] .stress-stat-value {
  color: var(--text);
}

:root[data-theme="dark"] .stress-stat-label {
  color: var(--muted);
}

/* Stress test histogram */
.stress-histogram-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.stress-histogram-label {
  font-size: 0.7rem;
  color: #64748b;
  min-width: 90px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stress-histogram-bar {
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
  min-width: 2px;
}

.stress-histogram-count {
  font-size: 0.7rem;
  color: #64748b;
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}

:root[data-theme="dark"] .stress-histogram-label,
:root[data-theme="dark"] .stress-histogram-count {
  color: var(--muted);
}
