/* Market live chart — TradingView embed + coin tabs */

.btc-chart {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.btc-chart__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgb(1 15 36 / 0.08);
  background: #f7f8fb;
}

.btc-chart__tab {
  appearance: none;
  border: 1px solid rgb(1 15 36 / 0.12);
  background: #fff;
  color: rgb(1 15 36 / 0.62);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.btc-chart__tab:hover {
  color: #010f24;
  border-color: rgb(33 64 148 / 0.35);
}

.btc-chart__tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, #0b2a6b, #3054ad);
  border-color: transparent;
}

.btc-chart__widget {
  position: relative;
  display: block;
  width: 100%;
  height: 440px;
  min-height: 440px;
  overflow: hidden;
  background: #fff;
}

@media (min-width: 768px) {
  .btc-chart__widget {
    height: 520px;
    min-height: 520px;
  }
}

@media (min-width: 1200px) {
  .btc-chart__widget {
    height: 560px;
    min-height: 560px;
  }
}

.btc-chart__widget iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
