/**
 * css/views/radar.css
 * -------------------
 * Hero control hub: platform selector tabs, URL inspection input bar,
 * automated thread provisioning checkboxes, multi-horizon duration selector (1D/3D/5D/14D/30D),
 * and the animated milestone progress timeline bar with glowing checkpoint dots.
 */

/* Hero Input & Control Hub */
    .hero-input-panel {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 24px;
      margin-bottom: 24px;
      box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
      position: relative;
      overflow: hidden;
    }

    .hero-input-panel::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent-emerald), var(--accent-cyan), transparent);
    }

    .input-title-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .input-title-row h2 {
      font-size: 16px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .platform-tabs {
      display: flex;
      gap: 6px;
    }

    .platform-tab {
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
    }

    .platform-tab.active, .platform-tab:hover {
      background: rgba(16, 185, 129, 0.15);
      color: #fff;
      border-color: var(--accent-emerald);
    }

    .url-input-group {
      display: flex;
      gap: 12px;
      margin-bottom: 14px;
    }

    .url-input-wrapper {
      flex: 1;
      position: relative;
    }

    .url-input-wrapper input {
      width: 100%;
      height: 48px;
      background: rgba(10, 14, 24, 0.8);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 0 16px 0 44px;
      color: #fff;
      font-size: 14px;
      font-family: var(--font-mono);
      transition: all 0.2s;
    }

    .url-input-wrapper input:focus {
      outline: none;
      border-color: var(--accent-emerald);
      box-shadow: 0 0 0 3px var(--accent-emerald-glow);
    }

    .url-input-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-dim);
      font-size: 16px;
    }

    /* Monitoring Horizon Selector */
    .horizon-selector {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 12px;
    }
    .horizon-btn {
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      color: var(--text-muted);
      font-family: var(--font-sans);
      font-size: 11px;
      font-weight: 700;
      padding: 5px 13px;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .horizon-btn:hover {
      border-color: var(--accent-emerald);
      color: var(--accent-emerald);
    }
    .horizon-btn.active {
      background: rgba(16,185,129,0.18);
      border-color: var(--accent-emerald);
      color: var(--accent-emerald);
    }
    /* Monitoring Timeline Bar */
    .monitoring-timeline {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 14px 18px;
      margin-top: 12px;
    }
    .timeline-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      font-size: 11px;
      color: var(--text-muted);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .timeline-bar-track {
      position: relative;
      height: 6px;
      background: rgba(255,255,255,0.08);
      border-radius: 6px;
      overflow: visible;
      margin-bottom: 24px;
    }
    .timeline-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
      border-radius: 6px;
      transition: width 0.8s ease;
    }
    .timeline-milestones {
      display: flex;
      justify-content: space-between;
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      pointer-events: none;
    }
    .milestone-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255,255,255,0.12);
      border: 2px solid rgba(255,255,255,0.2);
      transform: translateY(-50%);
      position: relative;
      transition: all 0.3s;
    }
    .milestone-dot.passed {
      background: var(--accent-emerald);
      border-color: var(--accent-emerald);
      box-shadow: 0 0 8px rgba(16,185,129,0.6);
    }
    .milestone-dot.current {
      background: var(--accent-cyan);
      border-color: var(--accent-cyan);
      box-shadow: 0 0 10px rgba(6,182,212,0.7);
      animation: pulse-dot 1.5s ease-in-out infinite;
    }
    .milestone-label {
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 9px;
      font-weight: 700;
      color: var(--text-dim);
      white-space: nowrap;
    }
    .milestone-dot.passed .milestone-label,
    .milestone-dot.current .milestone-label {
      color: var(--accent-emerald);
    }
    .timeline-meta {
      display: flex;
      justify-content: space-between;
      font-size: 10px;
      color: var(--text-dim);
    }
    .timeline-meta span strong {
      color: var(--text-muted);
    }
    @keyframes pulse-dot {
      0%, 100% { box-shadow: 0 0 8px rgba(6,182,212,0.5); }
      50% { box-shadow: 0 0 16px rgba(6,182,212,0.9); }
    }

    .input-options-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--text-muted);
    }

    .checkbox-label {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      user-select: none;
    }

    .checkbox-label input[type="checkbox"] {
      accent-color: var(--accent-emerald);
      width: 15px;
      height: 15px;
    }