/* ═══════════════════════════════════════════════
   WATCHLIST STYLES
═══════════════════════════════════════════════ */

/* Watch Section on Today page */
.watchlist-section {
  margin-bottom: 24px;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.watch-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  transition: border-color 0.15s;
}

.watch-item:hover {
  border-color: var(--border-strong);
}

.watch-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.watch-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--info);
  font-weight: 500;
}

.watch-unpin {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.15s;
}

.watch-item:hover .watch-unpin {
  opacity: 1;
}

.watch-unpin:hover {
  background: var(--border-subtle);
  color: var(--critical);
}

.watch-item-body {
  margin-bottom: 6px;
}

.watch-summary {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.watch-item-meta {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: var(--text-tertiary);
}

/* Pin Button (inline in action items) */
.watch-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  border-radius: 3px;
  opacity: 0.5;
  transition: opacity 0.15s, transform 0.15s;
  line-height: 1;
}

.watch-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.watch-btn.active {
  opacity: 1;
}

/* Toast notification */
.watch-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999;
  pointer-events: none;
}

.watch-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Watch badge in sidebar */
#watch-badge {
  display: none;
  background: var(--info);
  color: white;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: auto;
}
