.symbol-picker {
  position: relative;
  display: inline-block;
}

.symbol-picker-btn {
  min-width: 90px;
  text-align: left;
}

/* On the KuCoin order form the picker sits in a column above/below
   full-width fields (the search box, price inputs) and should match them —
   unlike the CFD page, where it sits inline in a row of timeframe buttons
   and must stay content-sized. */
.order-col .symbol-picker {
  display: block;
  width: 100%;
}
.order-col .symbol-picker-btn {
  width: 100%;
  box-sizing: border-box;
}

.symbol-picker-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 4px;
}
.symbol-picker-list[hidden] { display: none; }

.symbol-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
}
.symbol-row:hover { background: var(--bg-input); }
.symbol-row.current { color: var(--accent-blue); }

.star-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}
.star-btn.active { color: #e3b341; }

.symbol-row-label {
  flex: 1 1 auto;
  white-space: nowrap;
}

/* Sits inline inside .top-nav, to the right of the page tabs. */
.favourite-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.favourite-chip {
  background: var(--bg-panel);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.favourite-chip:hover { border-color: var(--border-strong); }
.favourite-chip.current { color: var(--text); border-color: var(--accent-blue); }
