/* 旧・通貨詳細ページのスタイル */
.currency-detail {
  margin: 2em 0;
}

.currency-header {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
  padding: 1em;
  background: #f5f5f5;
  border-radius: 8px;
}

.currency-logo {
  margin-right: 1.5em;
}

.currency-logo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.currency-info h2 {
  margin: 0 0 0.5em 0;
  font-size: 1.8em;
}

.currency-meta {
  color: #666;
}

.currency-content {
  margin-top: 2em;
}

.currency-description,
.currency-exchanges {
  margin-bottom: 2em;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.currency-description h3,
.currency-exchanges h3 {
  margin: 0 0 1em 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #0073aa;
}

.description-content {
  line-height: 1.6;
}

.exchanges-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5em;
}

.exchange-item {
  padding: 1em;
  background: #f9f9f9;
  border-radius: 4px;
}

.exchange-item h4 {
  margin: 0 0 0.5em 0;
  color: #0073aa;
}

.exchange-details p {
  margin: 0.5em 0;
  color: #666;
}

/* 追加：新しいセクションのスタイル */
.currency-additional-info {
  margin-top: 2em;
}

.PredictionVote {
  margin-bottom: 2em;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.PredictionVote__Heading {
  margin-bottom: 1em;
}

.PredictionVote__Heading p {
  margin: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.PredictionVote__Vote {
  display: flex;
  justify-content: center;
  gap: 1em;
}

.PredictionVote__Buy,
.PredictionVote__Sell {
  padding: 0.8em 2em;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.PredictionVote__Buy {
  background-color: #4caf50;
  color: white;
}

.PredictionVote__Sell {
  background-color: #f44336;
  color: white;
}

.PageSection {
  margin-bottom: 2em;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.SubHeader {
  margin-bottom: 1.5em;
}

.SubHeader__Title {
  margin: 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #0073aa;
  font-size: 1.5em;
}

.PageCard__Inner {
  padding: 1em;
}

.Valuations__RadarChart {
  margin-bottom: 2em;
  text-align: center;
}

.ValuationsTable {
  width: 100%;
  border-collapse: collapse;
}

.ValuationsTable__HeadCell,
.ValuationsTable__LabelCell,
.ValuationsTable__ValueCell {
  padding: 0.8em;
  border-bottom: 1px solid #eee;
}

.ValuationsTable__LabelCell {
  text-align: left;
  font-weight: bold;
}

.ValuationsTable__ValueCell {
  text-align: center;
}

.ValuationsTable__ValueWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.ValuationsTable__Star {
  color: #ffc107;
}

.CoinInfo__Table {
  width: 100%;
  border-collapse: collapse;
}

.CoinInfo__Table th,
.CoinInfo__Table td {
  padding: 0.8em;
  border-bottom: 1px solid #eee;
}

.CoinInfo__Table th {
  text-align: left;
  font-weight: bold;
  width: 30%;
}

.CoinInfo__TextCenter {
  text-align: center;
}

.CoinInfo__Feature {
  margin: 0;
  line-height: 1.6;
}

.CoinInfo__List {
  margin: 0;
  padding-left: 1.5em;
}

.CoinInfo__List li {
  margin-bottom: 0.5em;
}

.currency-sidebar {
  margin-top: 2em;
}

.Follow {
  margin-bottom: 1.5em;
}

.Follow__Btn {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 1em;
  padding: 0.8em 1.5em;
  background-color: #1da1f2;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.Follow__Btn:hover {
  background-color: #0c85d0;
}

.Follow__BtnIcon {
  margin-right: 0.5em;
}

/* 追加：PCサイズでのレイアウト修正 */
@media screen and (min-width: 961px) {
  .section--inner.section--detail {
    display: flex;
    justify-content: space-between;
    padding-bottom: 100px;
  }

  .section--inner.section--detail article {
    width: 67%;
    flex-shrink: 0;
  }

  .section--inner.section--detail .sidemenu {
    width: 25.5%;
  }
}



.ValuationsTable__HeadCell,
.ValuationsTable__LabelCell {
  padding: 0.5em 1em;
}

.ValuationsTable__HeadCell {
  border: 1px solid #fff;
  background-color: #10bdc2;
  color: #fff;
}

.ValuationsTable__LabelCell {
  width: 50%;
}

.ValuationsTable__ValueCell {
  font-weight: bold;
  text-align: center;
}



.CoinInfo {
  padding: 10px;

  &__Table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;

    br {
      line-height: 1em;
    }

    a {
      color: #fff;
    }

    th {
      color: #fff;
      border: solid 2px #fff;
      background-color: #10bdc2;
      width: 190px;
      font-size: 14px;
      padding: 5px;
    }

    td {
      border: solid 2px #f9f9f9;
      padding: 5px;
      word-break: break-all;
    }
  }

  &__Feature {
    white-space: pre-wrap;
  }

  &__TextCenter {
    text-align: center;
  }

  &__List {
    list-style-type: square;
    margin-left: 1.5em;
  }
}

@include sp-screen {
  .CoinInfo__Table {
    th {
      width: 120px;
      font-size: 11px;
    }

    td {
      font-size: 11px;
    }
  }
}



.CoinInfo {
  padding: 10px;

  &__Table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;

    br {
      line-height: 1em;
    }

    a {
      color: #fff;
    }

    th {
      color: #fff;
      border: solid 2px #fff;
      background-color: #10bdc2;
      width: 190px;
      font-size: 14px;
      padding: 5px;
    }

    td {
      border: solid 2px #f9f9f9;
      padding: 5px;
      word-break: break-all;
    }
  }

  &__Feature {
    white-space: pre-wrap;
  }

  &__TextCenter {
    text-align: center;
  }

  &__List {
    list-style-type: square;
    margin-left: 1.5em;
  }
}

@include sp-screen {
  .CoinInfo__Table {
    th {
      width: 120px;
      font-size: 11px;
    }

    td {
      font-size: 11px;
    }
  }
}




.StakingInfo {
  padding: 10px;

  &__Table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;

    th {
      color: #fff;
      border: solid 2px #fff;
      background-color: #10bdc2;
      width: 140px;
      font-size: 14px;
      padding: 5px;
    }
  }

  __TableCell {
    border: solid 2px #f9f9f9;
    padding: 5px;
    word-break: break-all;
    text-align: right;

    .-reward {
      .-highlight {
        color: #4caf50;
      }
    }

    .-remainingStaked {
      .-highlight {
        color: #f44336;
      }
    }
  }
}
