/* ═══════════════════════════════════════════════════════════════
   API Key Warmer — Design System
   Dark theme, glassmorphism, premium feel
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ────────────────────────────────────────────── */

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

:root {
  /* Backgrounds */
  --bg-primary: #0c0c14;
  --bg-secondary: #12121e;
  --bg-surface: #1a1a2e;
  --bg-surface-2: #242440;
  --bg-surface-3: #2e2e4a;
  --bg-hover: #35355a;

  /* Text */
  --text-primary: #ededf4;
  --text-secondary: #b8b8d0;
  --text-tertiary: #8888a8;
  --text-inverse: #08080d;

  /* Borders */
  --border-1: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --border-3: rgba(255, 255, 255, 0.22);

  /* Provider Colors */
  --color-assemblyai: #3B82F6;
  --color-deepgram: #13EF93;
  --color-elevenlabs: #8B5CF6;
  --color-groq: #F55036;
  --color-deepl: #0F9D7A;

  /* Status */
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #6366F1;

  /* Accent */
  --accent: #6366F1;
  --accent-hover: #7C7FF7;
  --accent-bg: rgba(99, 102, 241, 0.1);
  --accent-border: rgba(99, 102, 241, 0.25);

  /* Sizing */
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
}

/* ─── Header ──────────────────────────────────────────────────── */

#app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 13, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-1);
}

.header-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

.header-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e8e8f0, #a5a5c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-subtitle {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cron Countdown */
.cron-countdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-hover);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.cron-countdown svg {
  opacity: 0.8;
}

/* Settings Button */
.btn-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-settings:hover {
  background: var(--bg-surface-3);
  color: var(--text-primary);
  border-color: var(--border-3);
}

/* ─── Buttons ─────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--accent), #8B5CF6);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.running {
  background: linear-gradient(135deg, #4B4D9A, #6B5CB0);
  pointer-events: none;
}

.btn-secondary {
  padding: 9px 20px;
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-surface-3);
  color: var(--text-primary);
  border-color: var(--border-3);
}

.btn-danger {
  padding: 9px 20px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-error);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-small {
  padding: 5px 12px;
  font-size: 0.78rem;
  border-radius: 8px;
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.btn-text:hover {
  background: var(--accent-bg);
}

/* ─── Main ────────────────────────────────────────────────────── */

#app-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* ─── Status Bar ──────────────────────────────────────────────── */

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

.status-bar.success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.status-bar.error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
}

.hidden {
  display: none !important;
}

/* ─── Provider Cards ──────────────────────────────────────────── */

.providers-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.provider-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.provider-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.provider-card.expanded {
  box-shadow: var(--shadow-md);
}

.provider-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}

.provider-header:hover {
  background: var(--bg-surface-2);
}

.provider-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: white;
  flex-shrink: 0;
  margin-right: 14px;
}

.provider-info {
  flex: 1;
  min-width: 0;
}

.provider-name {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.provider-type {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-tertiary);
}

.provider-meta {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.provider-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 12px;
}

.key-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: var(--bg-surface-3);
  border-radius: 8px;
}

.today-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.today-indicator.done {
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.today-indicator.pending {
  background: var(--text-tertiary);
}

.today-indicator.partial {
  background: var(--color-warning);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.today-indicator.failed {
  background: var(--color-error);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.expand-arrow {
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.provider-card.expanded .expand-arrow {
  transform: rotate(180deg);
}

/* Provider Body (expanded) */
.provider-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--border-1);
}

.provider-card.expanded .provider-body {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Settings Section ────────────────────────────────────────── */

.settings-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  margin-top: 16px;
  flex-wrap: wrap;
}

.settings-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.settings-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-group label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.settings-group input[type="number"] {
  width: 56px;
  padding: 5px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  text-align: center;
  outline: none;
  transition: border-color var(--transition-fast);
}

.settings-group input[type="number"]:focus {
  border-color: var(--accent);
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.toggle {
  position: relative;
  width: 38px;
  height: 20px;
  background: var(--bg-surface-3);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border: 1px solid var(--border-2);
}

.toggle.active {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle.active::after {
  transform: translateX(18px);
}

/* ─── Key List ────────────────────────────────────────────────── */

.keys-section {
  margin-top: 16px;
}

.keys-list {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.key-row {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  gap: 12px;
  transition: background var(--transition-fast);
}

.key-row:not(:last-child) {
  border-bottom: 1px solid var(--border-1);
}

.key-row:hover {
  background: var(--bg-surface-2);
}

.key-icon-wrapper {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-3);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.key-icon-wrapper.active {
  border-color: var(--color-success);
}

.key-info {
  flex: 1;
  min-width: 0;
}

.key-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.key-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.key-status {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.key-status.success { color: var(--color-success); }
.key-status.failed { color: var(--color-error); }
.key-status.pending { color: var(--text-tertiary); }

.key-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.key-actions .btn-icon {
  width: 30px;
  height: 30px;
}

/* ─── Quota Bar ───────────────────────────────────────────────── */

.quota-bar-container {
  margin-top: 8px;
}

.quota-bar {
  height: 5px;
  background: var(--bg-surface-3);
  border-radius: 8px;
  overflow: hidden;
}

.quota-bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width var(--transition-slow);
}

.quota-bar-fill.high { background: var(--color-success); }
.quota-bar-fill.medium { background: var(--color-warning); }
.quota-bar-fill.low { background: var(--color-error); }

.quota-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
}

.quota-text .remaining { color: var(--text-secondary); }
.quota-text .total { color: var(--text-tertiary); }
.quota-text .percent { font-weight: 700; }
.quota-text .percent.high { color: var(--color-success); }
.quota-text .percent.medium { color: var(--color-warning); }
.quota-text .percent.low { color: var(--color-error); }

.quota-reset {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.quota-loading, .quota-error {
  font-size: 0.75rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quota-loading { color: var(--text-tertiary); }
.quota-error { color: var(--color-error); }

.quota-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--border-2);
  border-top-color: var(--text-secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Add Key Button */
.add-key-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  background: none;
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.add-key-btn:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

/* ─── Logs ────────────────────────────────────────────────────── */

.logs-section {
  margin-top: 8px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-header select {
  padding: 6px 12px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  outline: none;
}

.logs-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

.logs-container::-webkit-scrollbar {
  width: 6px;
}

.logs-container::-webkit-scrollbar-track {
  background: transparent;
}

.logs-container::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: 8px;
}

.log-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  font-size: 0.78rem;
  transition: background var(--transition-fast);
}

.log-row:not(:last-child) {
  border-bottom: 1px solid var(--border-1);
}

.log-row:hover {
  background: var(--bg-surface-2);
}

.log-provider {
  font-weight: 600;
  min-width: 90px;
}

.log-key {
  color: var(--text-secondary);
  min-width: 100px;
}

.log-status {
  font-weight: 600;
  min-width: 80px;
}

.log-status.success { color: var(--color-success); }
.log-status.failed { color: var(--color-error); }

.log-calls {
  color: var(--text-secondary);
  min-width: 60px;
}

.log-time {
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  margin-left: auto;
}

.log-error {
  color: var(--color-error);
  font-size: 0.72rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-state {
  padding: 32px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* ─── Modal ───────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  width: 420px;
  max-width: 90vw;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.25s ease;
}

.modal-small {
  width: 360px;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-1);
}

.modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 22px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid var(--border-1);
}

/* ─── Form ────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 18px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.key-input-wrapper {
  display: flex;
  gap: 8px;
}

.key-input-wrapper input {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

/* ─── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  #app-main {
    padding: 16px;
  }

  .settings-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .toggle-wrapper {
    margin-left: 0;
  }

  .log-row {
    flex-wrap: wrap;
  }

  .log-time {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* ─── Schedule Settings Modal ─────────────────────────────────── */

.schedule-mode-tabs {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-2);
}

.mode-tab {
  flex: 1;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mode-tab:hover {
  background: var(--bg-surface-2);
}

.mode-tab.active {
  background: var(--accent);
  color: white;
}

.schedule-panel.hidden {
  display: none;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2px;
  margin-bottom: 8px;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.hour-btn {
  padding: 8px 4px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.hour-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.hour-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.time-range-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.time-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.time-input-group label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  min-width: 36px;
}

.time-input {
  width: 60px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}

.range-separator {
  color: var(--text-tertiary);
  font-size: 1.2rem;
}
