/**
 * Coin Ticker Styles
 */

.coin-ticker {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  margin-bottom: 20px;
}

.coin-ticker__detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.coin-ticker__change span {
  display: inline-block;
  vertical-align: middle;
}

.coin-ticker__change-rate {
  font-weight: bold;
  color: #28a745;
  margin-left: 5px;
}

.coin-ticker__change-rate.minus {
  color: #dc3545;
}

.coin-ticker__source-market {
  font-size: 12px;
  color: #6c757d;
}

.coin-ticker__source-market-link {
  color: #007bff;
  text-decoration: none;
}

.coin-ticker__source-market-link:hover {
  text-decoration: underline;
}

.coin-ticker__rate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.coin-ticker__current-time {
  font-size: 12px;
  color: #6c757d;
}

.coin-ticker__current-rate {
  font-size: 24px;
  font-weight: bold;
  color: #212529;
}

.coin-ticker__yen-symbol {
  margin-left: 2px;
  font-size: 16px;
}

.coin-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.coin-list__item {
  margin-right: 10px;
}

.coin-list__item a {
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
  background: #f8f9fa;
  color: #212529;
  text-decoration: none;
  font-size: 14px;
}

.coin-list__item.active a {
  background: #007bff;
  color: white;
}

.coin-list__item a:hover {
  background: #e9ecef;
}

.coin-list__item.active a:hover {
  background: #0069d9;
}
