.metal-price-chart {
  max-width: 1000px;
  margin: 5rem auto;
  padding-top: 66px;
}
@media screen and (max-width: 768px) {
  .metal-price-chart {
    margin: 2rem 1rem;
    max-width: 100%;
  }
}
.metal-price-chart h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
}
.metal-price-chart select {
  display: inline-block;
  width: 250px;
  padding: 0.5rem;
  font-size: 1rem;
  margin-bottom: 2rem;
  border-color: #cfc3a1;
}
@media screen and (max-width: 768px) {
  .metal-price-chart select {
    width: 50%;
    font-size: 1rem;
  }
}
.metal-price-chart .chart-controls {
  display: flex;
  justify-content: flex-start;
  border-bottom: 5px solid #ab985d;
  gap: 0.5rem;
}
@media screen and (max-width: 768px) {
  .metal-price-chart .chart-controls {
    margin-bottom: 2rem;
    border-bottom: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.metal-price-chart .chart-controls button {
  padding: 0.5rem 2rem;
  font-size: 1.5rem;
  cursor: pointer;
  border: 1px solid #ab985d;
  background-color: #FFF;
  color: #000;
  flex-basis: 20%;
}
@media screen and (max-width: 768px) {
  .metal-price-chart .chart-controls button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    flex-basis: 31%;
  }
}
.metal-price-chart .chart-controls button:hover {
  background-color: #ab985d;
}
.metal-price-chart .chart-controls button.active {
  background-color: #ab985d;
  color: white;
}
.metal-price-chart .chart-wrap {
  background-color: #f3efe6;
  padding: 1rem;
}
.metal-price-chart .chart-canvas {
  position: relative;
}
.metal-price-chart .chart-canvas > .spinner {
  display: block;
  position: absolute;
  width: calc(100% + 2rem);
  height: calc(100% + 2rem);
  top: -1rem;
  left: -1rem;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.metal-price-chart .chart-canvas > .spinner::before {
  display: block;
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 768px) {
  .metal-price-chart .chart-wrap {
    width: 100%;
    overflow-x: scroll;
    padding: 1rem;
  }
  .metal-price-chart .chart-wrap .chart-canvas {
    width: 720px;
    height: 400px;
  }
  .metal-price-chart .chart-wrap .chart-canvas #priceChart {
    width: 100%;
    height: 100%;
    position: relative;
  }
}/*# sourceMappingURL=show-chart.css.map */