
.currency-bar-container {
  margin: 0;
  width: 100%;
  max-width: none;
}

/* Alternative: Fixed position for always-visible currency bar */
.currency-bar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}

.currency-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.375rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  line-height: 1.65rem;
  flex-wrap: wrap;
  align-items: center;
  min-height: 2.5rem;
}

.currency-item {
  display: flex;
  align-items: baseline;
  border-radius: 0.25rem;
  border: 1px solid var(--color-text-subtle);
  cursor: help;
  transition: all 0.15s ease;
  min-width: 0;
  padding: 0.25rem 0.5rem;
  gap: 0.25rem;
}

.currency-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.currency-symbol {
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.currency-amount {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.currency-abbrev {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  color: var(--color-text-subtle);
}
@media (max-width: 600px) {
  .currency-bar {
    font-size: 0.75rem;
    line-height: 1.3rem;
    padding: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.25rem;
  }

  .currency-item {
    padding: 0.2rem 0.4rem;
    gap: 0.2rem;
    border-width: 1px;
    transform: none;
  }

  .currency-item:hover {
    transform: none;
    box-shadow: none;
  }

  .currency-symbol {
    font-size: 0.85rem;
  }

  .currency-amount {
    font-size: 0.75rem;
    max-width: 6rem;
  }

  .currency-abbrev {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 380px) {
  .currency-bar {
    font-size: 0.7rem;
  }
  .currency-amount {
    max-width: 4.5rem;
  }
}
