/* ═══════════════════════════════════════════
   GOLD PRICE CARD – Redesigned v2
   ═══════════════════════════════════════════ */

/* ── Spot price header ── */
.gold-spot-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gold-price-big {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}

.gold-spot-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.gold-vnd-box {
  text-align: right;
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  flex-shrink: 0;
}

.gold-vnd-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-yellow);
}

.gold-vnd-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Unit toggle ── */
.gold-unit-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.gold-unit-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.gold-unit-btn:hover { background: rgba(255,255,255,0.07); color: var(--text-primary); }
.gold-unit-btn.active {
  background: rgba(251,191,36,0.15);
  border-color: rgba(251,191,36,0.4);
  color: var(--accent-yellow);
  font-weight: 600;
}

/* ── Brand section label ── */
.gold-brands-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gold-brands-note {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Brand table ── */
.gold-brand-table { display: flex; flex-direction: column; gap: 6px; }

.gold-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: background 0.2s, border-color 0.2s;
}

.gold-brand-row:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }

.gold-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gold-brand-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.gold-brand-name {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}

.gold-brand-name:hover { opacity: 0.8; text-decoration: underline; }
.gold-brand-type { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

/* ── Price columns ── */
.gold-brand-prices {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.gold-brand-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.gold-price-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 4px;
}

.gold-price-label.buy  { background: rgba(52,211,153,0.12); color: var(--accent-green); }
.gold-price-label.sell { background: rgba(248,113,113,0.12); color: var(--accent-red); }

.gold-price-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.sell-num { color: var(--accent-red) !important; }

/* ── Disclaimer ── */
.gold-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.1);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 12px;
  line-height: 1.5;
}

.gold-updated {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
