/* ==============================================================================
   Quant PWA: Institutional Watchlists Tab Styling
   Theme: Sleek Quant AI Dark Glass Aesthetic (Cockpit & Flow Aligned)
   ============================================================================== */

.watchlist-view-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  background: #0d1117;
}

/* ==============================================================================
   1. Header Bar: Title & 5s Live Status
   ============================================================================== */
.watchlist-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  box-sizing: border-box;
}

.watchlist-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.watchlist-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0f6fc;
}

.watchlist-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  background: rgba(56, 139, 253, 0.12);
  border: 1px solid rgba(56, 139, 253, 0.35);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #58a6ff;
  font-family: var(--font-mono, monospace);
}

.watchlist-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #00e676;
  font-family: var(--font-mono, monospace);
}

.watchlist-live-tag.paused {
  background: rgba(110, 128, 152, 0.1);
  border-color: rgba(110, 128, 152, 0.25);
  color: #8b949e;
}

.watchlist-live-tag .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.7);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.watchlist-live-tag.paused .dot-live {
  background: #6e8098;
  box-shadow: none;
  animation: none;
}

.watchlist-btn-sync-snapshot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 28px;
}

.watchlist-btn-sync-snapshot:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #fff;
}

.watchlist-btn-sync-snapshot:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.watchlist-btn-sync-snapshot.syncing {
  animation: pulseSync 1.2s infinite ease-in-out;
}

@keyframes pulseSync {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.watchlist-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1e293b;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #f8fafc;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: var(--font-mono, monospace);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.watchlist-toast.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* ==============================================================================
   2. 1-Tap Horizontal Watchlist Tabs Strip (Compact & Inline Deletion)
   ============================================================================== */
.watchlist-pills-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.25rem 0.4rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  box-sizing: border-box;
}

.watchlist-pills-strip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
  padding: 0.1rem 0;
}

.watchlist-pills-strip::-webkit-scrollbar {
  display: none;
}

.watchlist-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0 0.55rem;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #8b949e;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-sizing: border-box;
  outline: none;
  user-select: none;
}

.watchlist-pill:hover {
  background: #283141;
  border-color: #58a6ff;
  color: #f0f6fc;
}

.watchlist-pill.active {
  background: rgba(56, 139, 253, 0.15);
  border-color: #388bfd;
  color: #58a6ff;
  box-shadow: 0 0 8px rgba(56, 139, 253, 0.2);
}

.watchlist-pill-name {
  white-space: nowrap;
  flex-shrink: 0;
}

.watchlist-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 0.25rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.watchlist-pill.active .watchlist-pill-count {
  background: rgba(56, 139, 253, 0.25);
  color: #58a6ff;
}

/* Inline Tab Delete Button (×) */
.watchlist-tab-del-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  margin-left: 0.15rem;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.12s ease;
  outline: none;
}

.watchlist-tab-del-btn:hover {
  opacity: 1;
  color: #f85149;
  background: rgba(248, 81, 73, 0.18);
}

.watchlist-pill-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Action Buttons (WCAG >= 44px) */
.watchlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.watchlist-btn-primary {
  background: rgba(56, 139, 253, 0.12);
  border: 1px solid rgba(56, 139, 253, 0.4);
  color: #58a6ff;
}

.watchlist-btn-primary:hover {
  background: rgba(56, 139, 253, 0.25);
  color: #fff;
  border-color: #58a6ff;
}

.watchlist-btn-danger {
  background: rgba(248, 81, 73, 0.12);
  border: 1px solid rgba(248, 81, 73, 0.4);
  color: #f85149;
}

.watchlist-btn-danger:hover {
  background: rgba(248, 81, 73, 0.25);
  color: #fff;
  border-color: #f85149;
}

.watchlist-btn-add-tab {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

/* ==============================================================================
   3. Streamlined Command Bar: Ticker Entry & Autocomplete
   ============================================================================== */
.watchlist-add-box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-sizing: border-box;
}

.watchlist-add-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
}

.watchlist-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.watchlist-input-wrapper:focus-within {
  border-color: #58a6ff;
  box-shadow: 0 0 0 1px #58a6ff;
}

.watchlist-input {
  flex: 1;
  min-height: 44px;
  background: transparent;
  border: none;
  outline: none;
  color: #f0f6fc;
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0 0.75rem;
  box-sizing: border-box;
}

.watchlist-input::placeholder {
  color: #6e7681;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-family: inherit;
}

.watchlist-btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.95rem;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: 6px;
  color: #00e676;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.watchlist-btn-add:hover {
  background: rgba(0, 230, 118, 0.25);
  color: #fff;
  border-color: #00e676;
}

/* Autocomplete Menu */
.watchlist-autocomplete-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #161b22;
  border: 1px solid #388bfd;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  z-index: 100;
  box-sizing: border-box;
}

.watchlist-autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid #21262d;
  font-family: var(--font-mono, monospace);
  transition: background 0.1s;
}

.watchlist-autocomplete-item:last-child {
  border-bottom: none;
}

.watchlist-autocomplete-item:hover {
  background: rgba(56, 139, 253, 0.12);
}

.auto-ticker {
  font-size: 0.88rem;
  font-weight: 700;
  color: #58a6ff;
  letter-spacing: 0.04em;
}

.auto-indices {
  font-size: 0.7rem;
  color: #8b949e;
  font-weight: 600;
}

/* Validation Message */
.watchlist-validation-msg {
  display: none;
  font-size: 0.76rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-family: var(--font-mono, monospace);
  box-sizing: border-box;
}

.watchlist-validation-msg.visible {
  display: block;
}

.watchlist-validation-msg.error {
  background: rgba(248, 81, 73, 0.12);
  border: 1px solid rgba(248, 81, 73, 0.35);
  color: #f85149;
}

.watchlist-validation-msg.success {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #00e676;
}

/* ==============================================================================
   4. Clean Real Table & Horizontal Scroll Wrapper
   ============================================================================== */
.watchlist-table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 220px);
  -webkit-overflow-scrolling: touch;
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-sizing: border-box;
}

.watchlist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}

.watchlist-table thead th,
.watchlist-table thead.watchlist-table-header th {
  position: sticky;
  top: 0;
  background: #0d1322;
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  user-select: none;
  z-index: 2;
  box-sizing: border-box;
}

.watchlist-table thead th.sortable {
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}

.watchlist-table thead th.sortable:hover {
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.06);
}

.watchlist-table thead th.sortable.active {
  color: #38bdf8;
}

.watchlist-table thead th .th-content {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.watchlist-table thead th.col-num .th-content {
  justify-content: flex-end;
  width: 100%;
}

.watchlist-table thead th .sort-glyph {
  font-size: 0.65rem;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.35;
}

.watchlist-table thead th.sortable.active .sort-glyph {
  color: #38bdf8;
  opacity: 1;
}

.watchlist-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.15s;
  cursor: pointer;
}

.watchlist-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.06);
}

.watchlist-table tbody td {
  padding: 0.55rem 0.75rem;
  color: #e2e8f0;
  white-space: nowrap;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Column Alignments matching Confluence Radar */
.watchlist-table .col-ticker {
  text-align: left;
  min-width: 90px;
}

.watchlist-table .col-num {
  text-align: right;
  min-width: 85px;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono, monospace);
}

.watchlist-table .col-actions {
  text-align: right;
  width: 50px;
  min-width: 50px;
}

/* Ticker Button matching Confluence Radar */
.watchlist-table .radar-ticker-btn,
.watchlist-ticker-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: all 0.15s;
  font-family: var(--font-mono, monospace);
  cursor: pointer;
}

.watchlist-table tbody tr:hover .radar-ticker-btn,
.watchlist-ticker-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}

.watchlist-table .watchlist-card-price {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.watchlist-table .watchlist-spot-price {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.watchlist-table .watchlist-change-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 58px;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
}

.watchlist-table .watchlist-change-badge.positive {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
}

.watchlist-table .watchlist-change-badge.negative {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #f87171;
}

.watchlist-table .watchlist-change-badge.neutral {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

/* Remove button matching WCAG >= 44px */
.watchlist-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #64748b;
  font-size: 1.25rem;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.watchlist-remove-btn:hover {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/* Card Bottom: Index Badges Cleanly Displayed on Row 2 */
.watchlist-index-badges {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  width: 100%;
}

.watchlist-index-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono, monospace);
  background: rgba(56, 139, 253, 0.12);
  border: 1px solid rgba(56, 139, 253, 0.3);
  color: #58a6ff;
}

.watchlist-index-badge.sp500 {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.3);
  color: #fde047;
}

.watchlist-index-badge.ndx {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.3);
  color: #00e676;
}

.watchlist-index-badge.dow {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.watchlist-index-badge.russell {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.watchlist-index-badge.etf {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
  color: #fdba74;
}

/* ==============================================================================
   Desktop Alignment (>= 768px): Full 5-Column Table Row
   ============================================================================== */
@media (min-width: 768px) {
  div.watchlist-ticker-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.75rem;
  }

  .watchlist-card-top {
    display: contents;
  }

  .watchlist-symbol-col {
    order: 1;
    width: 90px;
    flex-shrink: 0;
  }

  .watchlist-ticker-symbol {
    font-size: 0.95rem;
  }

  .watchlist-index-badges {
    order: 2;
    width: auto;
    flex: 1;
    padding: 0 0.5rem;
  }

  .watchlist-card-price {
    order: 3;
    width: 170px;
    margin-left: 0;
    justify-content: flex-end;
  }

  .watchlist-spot-price {
    min-width: 80px;
  }

  .watchlist-change-badge {
    min-width: 65px;
  }

  .watchlist-card-actions {
    order: 4;
    width: 100px;
    justify-content: flex-end;
  }
}

/* Empty & Session Expired States */
.watchlist-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: #0d1117;
  border: 1px dashed #21262d;
  border-radius: 6px;
  text-align: center;
  color: #8b949e;
  gap: 0.5rem;
  box-sizing: border-box;
}

.watchlist-empty-icon {
  font-size: 1.8rem;
  opacity: 0.6;
}

.watchlist-empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #c9d1d9;
  letter-spacing: 0.04em;
}

.watchlist-empty-desc {
  font-size: 0.8rem;
  color: #6e7681;
  max-width: 400px;
  line-height: 1.4;
}

.watchlist-session-expired {
  border-color: rgba(248, 81, 73, 0.35);
  background: rgba(248, 81, 73, 0.06);
}

.watchlist-session-expired .watchlist-empty-title {
  color: #f85149;
}

.watchlist-unlock-btn {
  margin-top: 0.5rem;
}

/* ==============================================================================
   5. New Watchlist Modal
   ============================================================================== */
.watchlist-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.watchlist-modal-overlay.open {
  display: flex;
}

.watchlist-modal-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}

.watchlist-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.watchlist-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0f6fc;
}

.watchlist-modal-close {
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-sizing: border-box;
}

.watchlist-modal-close:hover {
  color: #fff;
}

.watchlist-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.watchlist-modal-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b949e;
  letter-spacing: 0.03em;
}

.watchlist-modal-input {
  min-height: 44px;
  padding: 0 0.85rem;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #f0f6fc;
  font-family: var(--font-mono, monospace);
  font-size: 0.9rem;
  outline: none;
  box-sizing: border-box;
}

.watchlist-modal-input:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 1px #58a6ff;
}

.watchlist-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.watchlist-modal-btn-cancel {
  min-height: 44px;
  min-width: 70px;
  padding: 0 0.85rem;
  background: transparent;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #8b949e;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

.watchlist-modal-btn-cancel:hover {
  background: #21262d;
  color: #f0f6fc;
}

.watchlist-modal-btn-create {
  min-height: 44px;
  min-width: 80px;
  padding: 0 1rem;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid #00e676;
  border-radius: 4px;
  color: #00e676;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.watchlist-modal-btn-create:hover {
  background: rgba(0, 230, 118, 0.25);
  color: #fff;
}

/* ==============================================================================
   6. Tick Flashes
   ============================================================================== */
.price-flash-green {
  animation: tickFlashGreen 0.7s ease-out;
}

.price-flash-red {
  animation: tickFlashRed 0.7s ease-out;
}

@keyframes tickFlashGreen {
  0% { color: #00e676; text-shadow: 0 0 8px rgba(0, 230, 118, 0.6); }
  100% { color: #f0f6fc; text-shadow: none; }
}

@keyframes tickFlashRed {
  0% { color: #ff5252; text-shadow: 0 0 8px rgba(255, 82, 82, 0.6); }
  100% { color: #f0f6fc; text-shadow: none; }
}
