.page-token .header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 1.5rem;
  overflow-x: hidden;
}

.card-body .less-generic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Popup Modal */
.popover {
  box-shadow: 0 4px 24px 0 #007bff36;
  border-radius: 0.428rem;
}

.popover-header {
  border-radius: 0.428rem 0.428rem 0 0;
  background-color: #007bff;
}

.popover-body {
  display: flex;
  flex-direction: column;
  gap: 0.1px;
}

.popover .popover-arrow::before,
.popover .popover-arrow::after {
  border-bottom-color: #007bff;
}

.bs-popover-top .popover-arrow::after {
  border-top-color: #007bff;
}

.bs-popover-bottom .popover-arrow::after {
  border-bottom-color: #007bff;
}

/* select button */
select {
  & .form-select {
    color: white;
    border-radius: 12px;
    & option {
      border-radius: 12px;
      color: #177ff0;
      border: 1px solid var(--color-border);
    }
  }
}

/* Social Slideout */
.social-button {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  aspect-ratio: 1 / 1;
  border: 1px solid #fff;
  margin-bottom: 10px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.social-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.social-button button:focus {
  outline: 1px solid #007bff;
  outline-offset: 1px;
}

.social-button > svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.social-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-left: auto;
  position: relative;
}

.toggle-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  position: relative;
}

.social-buttons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  position: absolute;
  right: 0;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}

.social-buttons.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Code Snippet Toggle */
#light_embed-tab,
#dark_embed-tab {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#disclaimer {
  flex: 1;
  width: 100%;
  margin: 0;
}

#disclaimer .card {
  width: 100%;
  height: 100%;
}

.platform-section {
  color: white;
  font-size: 1.25rem;
  padding-right: 0;
}

.platform-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff !important;
  margin-bottom: 0;
}

.platform-icon {
  color: var(--accent-blue);
}

.menu-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1rem;
  height: 1rem;
  color: var(--accent-blue);
}

.instructions {
  list-style: decimal inside;
  color: var(--text-secondary);
  font-size: 14px;
  color: #b4b7bd;
  white-space: nowrap;

  b {
    color: #fff;
  }
}

.instructions li {
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .platform-section {
    flex-direction: row;
  }
}

@media (min-width: 1200px) {
}

/* Main Indicator Text */
.token-symbol {
  display: flex;
  align-items: center;
  margin: 15px;
}

.token-symbol img {
  height: 16px;
  width: 16px;
  margin-right: 0.5rem;
}

.token-symbol span {
  font-size: 1rem;
  font-weight: 700;
}

.history-loader {
  width: 100%;
  height: 100%;
  background-color: red;
}

/* #selectTemporality {
    font-size: 1rem;
    font-weight: 700;
    padding-right: 30px;
    border-radius: 12px;
}

#selectTemporality option {
    font-size: 1rem;
    font-weight: 700;
} */

@media (min-width: 768px) {
  .alert-number {
    font-size: 3.5rem;
  }

  .alert-label {
    font-size: 1.25rem;
  }
}

/* Tablet screens */
@media screen and (min-width: 750px) {
  #selectTemporality,
  #selectTemporality option {
    font-size: 1.2rem;
  }
}

/* Main Indicator Text Tablet */
@media screen and (min-width: 750px) {
  .token-symbol img {
    height: 18px;
    width: 18px;
  }

  .token-symbol span {
    font-size: 1.2rem;
  }
}

/* Desktop screens */
@media screen and (min-width: 1389px) {
  #selectTemporality,
  #selectTemporality option {
    font-size: 1.48rem;
  }
}

/* Main Indicator Text Desktop */
@media screen and (min-width: 1389px) {
  .token-symbol img {
    height: 20px;
    width: 20px;
  }

  .token-symbol span {
    font-size: 1.48rem;
  }
}

/* Scrollbar Styling */
/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #177ff0 #333;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #333;
}

*::-webkit-scrollbar-thumb {
  background-color: #177ff0;
  border-radius: 50px;
  border: 3px solid #333;
}

/**
Optimisation Update
 */
.token-page {
  .token-page__top {
    @media (min-width: 992px) {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }
  }

  .token-page__analysis {
    margin-top: 24px;

    .analysis__container {
      margin-bottom: 24px;

      @media (min-width: 992px) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
        gap: 24px;
      }

      .container__content {
        display: flex;
        flex-direction: column;
        flex-shrink: 1;
        justify-content: space-between;
        height: 100%;

        .content__news {
          .news__container {
            padding: 24px 0;
            overflow: hidden;

            @media (min-width: 992px) {
              padding: 24px;
              max-height: 1995.54px;
              overflow-y: auto;
            }

            @media (max-width: 1530px) {
              max-height: 1913.25px; /* Decrease the height as needed */
            }

            .horizontal-news-layout {
              display: flex;
              align-items: center;
              gap: 14px;
              padding: 14px;
              overflow-x: auto;
            }

            .swiper-slide {
              padding: 0 24px 24px;
            }

            .container__item {
              display: flex;
              flex-direction: column;
              /* min-width: 280px; */
              min-width: 100%;
              padding: 16px;
              border: 1px solid var(--color-border);
              border-radius: 4px;

              & h5 {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
              }

              .img-fluid {
                /* max-width: 100%; */
                height: auto;
              }

              a {
                align-self: flex-end;
              }

              @media (min-width: 992px) {
                width: auto;
              }

              + .container__item {
                @media (min-width: 992px) {
                  margin-top: 16px;
                }
              }
            }
          }
        }

        .content__embed {
          .card {
            margin-bottom: 0;

            .card-buttons {
              margin-top: 16px;
              flex-wrap: wrap;

              button {
                display: flex;
                align-items: center;
                margin: 0 8px 8px 0;
                padding: 8px 12px;
                font-size: 12px;
                border-radius: 8px;
              }

              svg {
                margin-right: 4px;
              }
            }
          }
        }
      }

      .container__charts {
        margin-top: 24px;

        @media (min-width: 992px) {
          margin-top: 0;
        }

        .swiper-sentiment {
          .swiper-wrapper {
            @media (min-width: 992px) {
              display: grid;
              grid-template-columns: repeat(2, minmax(0, 1fr));
              gap: 24px;
              margin-top: 0;
              padding-bottom: 0;
            }
          }

          .swiper-button-next,
          .swiper-button-prev {
            @media (min-width: 992px) {
              display: none;
            }
          }
        }

        .fg-sentiment {
          @media (min-width: 992px) {
            width: auto;
            height: 100%;
          }
        }

        .card {
          margin-bottom: 0;
        }

        &.is-dragging {
          cursor: grabbing;
        }
      }
    }
  }

  [class^="fg-"] {
    width: 100%;

    .card {
      @media (min-width: 992px) {
        margin-bottom: 0;
      }
    }
  }

  .fg-indicator {
    grid-column: 1 / 2;

    .card {
      height: 100%;
    }
  }

  .fg-scores {
    grid-column: 2 / span 2;
    height: 100%;
    min-height: 240px;

    .card {
      height: 100%;
      padding: 24px;
    }

    h4 {
      margin-bottom: 0;

      + p {
        margin-top: 4px;
        opacity: 0.8;
      }
    }

    /*.fg-scores__indicators {*/
    /*    display: grid;*/
    /*    grid-template-columns: repeat(2, minmax(0, 1fr));*/
    /*    gap: 16px;*/
    /*    margin-top: 16px;*/

    /*    h5 {*/
    /*        margin: 0 8px 0 0;*/
    /*        font-size: 18px;*/
    /*        color: #fff;*/
    /*    }*/

    /*    .indicators__circle {*/
    /*        width: 52px;*/
    /*        height: 52px;*/
    /*    }*/
    /*}*/
  }

  .fg-alerts,
  .fg-historical,
  .fg-price {
    grid-column: span 3;
  }

  .fg-alerts {
    .alert-box {
      display: flex;
      flex: 1;
      justify-content: center;
      align-items: center;
      border: 1px solid var(--color-border);
      border-radius: 14px;
      padding: 1rem;

      h4 {
        font-size: 20px;
      }
    }

    .alert-des {
      font-size: 10px;

      @media (min-width: 768px) {
        font-size: 14px;
      }
    }

    .alert-card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 14px;
      padding: 1.5rem;
      min-height: 160px;
    }

    .button-alert {
      display: flex;
      flex: 1;
      justify-content: center;
      align-items: center;
      padding: 8px;
      border-radius: 8px;
      background-color: #177ff0;
      color: #fff;
      transition: background-color 0.3s;

      &:hover {
        color: #fff !important;
        background-color: rgba(23, 127, 240, 0.8);
      }
    }
  }

  .fg-tabs-historical-and-price {
    .card {
      margin-bottom: 0;
      padding: 24px;
      border-bottom: 0 !important;
      border-radius: 8px 8px 0 0 !important;
    }
  }

  .fg-historical,
  .fg-price {
    display: none;

    @media (min-width: 992px) {
      display: block;
    }

    .card {
      border-top: 0 !important;
      border-radius: 0 0 8px 8px !important;

      @media (min-width: 992px) {
        border: 1px solid var(--color-border) !important;
        border-radius: 8px !important;
      }
    }

    &.is-visible {
      display: block;
    }
  }

  .token-page__price .fg-price {
    display: block;
  }

  /* .token-page__apps {
        .smartphone-guide {
            border-radius: 2rem;
            background-color: var(--bg-primary);
            border: 1px solid var(--border-light);
            position: relative;
            .card-body .card-title {
                color: #fff !important;
            }
        }

        .guide-phone-image {
            display: none;
        }

        @media(min-width: 1200px) {
            margin-top: 15rem !important;

            .guide-phone-image {
                display: block;
                position: absolute;
                bottom: 0;
                right: -100px;
                width: 700px;
                height: auto;
            }

            .platform-section {
                padding-right: 45%;
                margin-bottom: 20px;

                & .platform-title {
                    font-size: 24px;
                    color: red;
                }

                div {
                    margin-bottom: 20px;
                }
            }

            .instructions {
                z-index: 10;
            }
        }
    } */

  /* .installation {
        @media (min-width: 1200px) {
            margin-top: 220px;
        }
    }

    .smartphone-guide {
        position: relative;

        .guide-phone-image {
            display: none;
        }

        @media (min-width: 1200px) {
            .guide-phone-image {
                display: block;

                img {
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    max-height: 500px;
                }
            }

            .platform-section {
                padding-right: 45%;
                margin-bottom: 20px;

                & .platform-title {
                    font-size: 24px;
                    color: red;
                }

                div {
                    margin-bottom: 20px;
                }
            }

            .instructions {
                z-index: 10;
            }
        }
    } */

}
#duck {
  color: #fff;
  margin-bottom: 0;

  @media (min-width: 992px) {
    margin-bottom: 20px;
  }
}

.mb-20 {
  margin-bottom: 20px !important;
}

#token-price-chart {
  padding: 24px;
}

.token-page {
  #token-price-chart {
    padding: 0;
  }
}

/* Accordion */
.accordion-body {
  background-color: #141414;
  padding: 24px;
  & strong {
    color: #fff !important;
  }
}

.accordion-header {
  padding-inline: 10px;
  background-color: #141414;
}
.accordion-header .accordion-button {
  background-color: #141414 !important;
}

.accordion-inner-h2 {
  padding: 0;
}
.accordion-button,
.accordion-inner-h2 {
  font-family: manrope;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #fff !important;

  @media (min-width: 768px) {
    font-size: 1.714rem !important;
  }
}

.accordion-button::after {
  content: "" !important;
  background: url('data:image/svg+xml,<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" rx="24" fill="%231B1B1B"/><rect x="1" y="1" width="46" height="46" rx="23" stroke="white" stroke-opacity="0.1" stroke-width="2"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23 25V34H25V25H34V23H25V14H23V23H14V25H23Z" fill="white"/></svg>')
    no-repeat center center !important;
  background-size: 28px 28px !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  transform: rotate(180deg) !important;
}

.accordion-button:not(.collapsed)::after {
  background: url('data:image/svg+xml,<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" rx="24" fill="%231B1B1B"/><rect x="1" y="1" width="46" height="46" rx="23" stroke="white" stroke-opacity="0.1" stroke-width="2"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23 25V34H25V25H34V23H25V14H23V23H14V25H23Z" fill="white"/></svg>')
    no-repeat center center !important;
  background-size: 28px 28px !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transform: rotate(45deg) !important;
}

.home-faq {
  & h2 {
    font-weight: 700;
  }
}

/* Charts Tabs */
.card-tabs {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    transition:
      color 0.2s,
      border-color 0.2s,
      background-color 0.2s;

    + li {
      border-radius: 0 4px 4px 0;
      border-left: 0;
    }

    &.is-active {
      color: var(--color-primary);
      border-color: var(--color-primary);
      background-color: rgba(23, 127, 240, 0.2);

      &:not(:first-child) {
        border-left-width: 1px;
      }
    }

    &:has(+ .is-active) {
      border-right-color: var(--color-primary);
    }
  }
}

.tabs-content-chart,
.tabs-content-text {
  display: none;

  &.is-visible {
    display: block;
  }
}

.swiper {
  --swiper-navigation-color: #fff;
  --swiper-navigation-sides-offset: 4px;
  --swiper-navigation-size: 16px;
  --swiper-pagination-color: var(--color-primary);
  --swiper-pagination-bullet-inactive-color: var(--color-primary);
  --swiper-pagination-bullet-inactive-opacity: 0.5;
  --swiper-pagination-bottom: 0;

  max-width: 100%;

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: background 0.2s;

    &:hover {
      background: rgba(255, 255, 255, 0.35);
    }
  }
}

.ficon {
  width: 35px;
}

/* .page-token {
    .footer-contain {
        max-width: 1260px;
    }
} */
