* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  width: 100%;
  max-width: 100vw;
  background: #fff;
}

/*Index.css*/
.main-index {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-direction: column;
  margin: 2rem 5.25rem 3.5rem 5.25rem;
}

.header-banner {
  position: relative;
  width: 100%;
  height: 200px;
  background: #191919;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-logo {
  width: 45.9375rem;
  height: 61.25rem;
  position: absolute;
  right: -1.5rem;
  top: -24rem;
}

.index-text {
  position: relative;
  z-index: 10;
  letter-spacing: 8px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  color: #e8e8e8;
  text-align: center;
  font-feature-settings: "dlig" on;
  font-family: "Playfair Display";
  font-size: 8.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* Responsive Design */
@media screen and (min-width: 1280px) and (max-width: 1440px) {
  .main-index {
    margin: 2vw 1.75vw 3.5vw 1.75vw;
  }
}
@media screen and (max-width: 768px) {
  .header-banner {
    height: 150px;
  }

  .index-text {
    font-size: 80px;
    letter-spacing: 5px;
  }
}

@media screen and (max-width: 480px) {
  .header-banner {
    height: 120px;
  }

  .index-text {
    font-size: 50px;
    letter-spacing: 3px;
  }
}

/*after Index header*/
/* New Projects Section */
.new-projects {
  width: 100%;
  overflow: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  color: #1f1f1f;
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background-color: #666;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color 0.3s;
}

.nav-btn:hover {
  background-color: #333;
}

.nav-btn.next {
  background-color: #000;
}

.cards-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.crypto-card {
  display: flex;
  width: 18.75rem;
  padding: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  background: #191919;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  align-self: stretch;
}

.crypto-info {
  /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem; */
  flex: 1 0 0;
  align-self: stretch;
}

.crypto-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.crypto-name {
  color: var(--White-100, #fff);
  text-align: center;
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem;
}

.crypto-name-abv {
  color: var(--white-80, rgba(255, 255, 255, 0.8));
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.card-icons {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
  margin-top: -1rem;
}

.icon-badge {
  display: flex;
  width: 2.5rem;
  height: 1.5rem;
  padding: 0.15rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.25rem;
  background: #474747;
  color: var(--White-100, #fff);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.price-section {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  align-self: stretch;
}

.project-card-logo {
  margin-right: 0.75rem;
}

.crypto-info-div {
  display: flex;
  gap: 0.5rem;
}

.price {
  color: #fff;
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;
}

.price-change-negative {
  color: var(--Index-Red, #b55252);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.price-change-positive {
  color: var(--Index-Green, #52b578);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

/* Market Data Section */
.market-section {
  width: 100%;
  /* min-width: 79.5rem; */
}
.market-section h2 {
  flex: 1 0 0;
  color: var(--Black-800, #191919);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
}

.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.search-box {
  display: flex;
  position: relative;
  width: 100%;
}

.search-box input {
  display: flex;
  height: 2.5rem;
  padding: 0.625rem 1rem;
  align-items: center;
  gap: 0.5rem;
  flex: 1 0 0;
  border-radius: 0.5rem;
  background: var(--Black-100, #e8e8e8);
  color: var(--Black-700, #474747);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  border: none;
  padding-left: 2.5rem;
}

.search-box input::placeholder {
  color: var(--Black-700, #474747);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.search-box::before {
  position: absolute;
  content: url("/Icons/search-icon.svg");
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.filter-buttons {
  display: flex;
  gap: 15px;
}

.filter-btn {
  display: flex;
  width: 10rem;
  height: 2.5rem;
  padding: 0.625rem 1rem;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid #191919;
  color: var(--Black-700, #474747);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  background: #fff;
}

.filter-btn-info {
  display: flex;
  width: 18.75rem;
  height: 2.5rem;
  padding: 0.625rem 1rem;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid #191919;
  background: #fff;
  color: var(--Black-800, #191919);
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  flex: 1 0 0;
}

.filter-btn:hover {
  border-color: #999;
  background-color: #f9f9f9;
}

/* Table Styles */
.crypto-table {
  background-color: #fff;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0;
}

thead {
  background-color: #fafafa;
}

th {
  color: rgba(0, 0, 0, 0.8);
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: left;
}

.TH-rest {
  text-align: right !important;
}

tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

tbody tr:hover {
  background-color: #fafafa;
}

td {
  padding: 1rem 0rem;
  color: #191919;
  text-align: right;
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.token-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* UPDATED: Token icons side-by-side without overlap */
.token-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--Black-800, #191919);
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.token-logo {
  padding-left: 0.5rem;
  /* width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0; */
}

.token-symbol {
  color: var(--Black-800, #191919);
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25rem;
}

.row-number {
  color: var(--Black-800, #191919);
  font-family: Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.sparkline {
  border-radius: 0.25rem;
  float: right;
}

.sparkline svg {
  width: 100%;
  height: 100%;
}

.sparkline.positive {
}

.sparkline.negative {
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.page-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  border-radius: 2rem;
  border: none;
  color: var(--Black-700, #474747);
  text-align: center;
  font-feature-settings: "liga" off;
  font-family: Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}

.page-btn:hover {
  border-color: #999;
  background-color: #f9f9f9;
}

.page-btn.active {
  background-color: #191919;
  color: white;
  border-color: #191919;
}

.page-btn.next {
  background-color: #000;
  color: white;
  border-color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .search-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .crypto-table {
    overflow-x: auto;
  }

  table {
    min-width: 800px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.tabs__item {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
}

.tabs__item--active {
  color: #191919;
  border-bottom-color: #10f4b1;
}

.tab-content {
  display: none;
}

.tab-content--active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.timeline__item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline__marker {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  border: 3px solid white;
}

.timeline__marker--completed {
  background: #10f4b1;
}

.timeline__marker--current {
  background: #191919;
  width: 16px;
  height: 16px;
  left: -2.2rem;
  top: -2px;
}

.timeline__date {
  font-size: 12px;
  font-weight: 700;
  color: #10f4b1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline__heading {
  font-size: 15px;
  font-weight: 600;
  margin: 0.5rem 0;
}

.timeline__text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Coin Info */
.coin-info {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.coin-info__address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.coin-info__address-text {
  font-family: monospace;
  flex: 1;
}

.copy-button {
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn-info.active svg:last-child {
  transform: rotate(180deg);
}

/* Date Picker Modal */
.date-picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.date-picker-overlay.active {
  opacity: 1;
  visibility: visible;
}

.date-picker-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 400px;
  width: 90%;
}

.date-picker-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.date-picker-container {
  padding: 1.5rem;
}

.date-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.date-picker-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.date-picker-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.date-picker-close:hover {
  color: #191919;
}

.quick-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quick-btn {
  padding: 0.75rem;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #191919;
  transition: all 0.3s ease;
}

.quick-btn.active {
  background: #191919;
  color: white;
}

.calendar-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.input-group label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.date-input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-input:focus {
  outline: none;
  border-color: #191919;
  box-shadow: 0 0 0 3px rgba(25, 25, 25, 0.1);
}

.date-picker-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn-cancel,
.btn-apply {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-apply {
  background: #191919;
  color: white;
}

.btn-apply:hover {
  background: #333;
}

.category-list {
  display: none;
  position: absolute;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(204, 204, 204);
  padding: 10px;
  width: 10rem;
  z-index: 1000;
  flex-direction: column;
  margin-top: 3rem
}

.category-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.category-list li {
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 2px;
  user-select: none;
}

.category-list li.active {
  background-color: #8ed4fd;
}

.category-list li:hover {
  background-color: #f0f0f0;
}

.apply-btn {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}

.apply-btn:hover {
  background-color: #0056b3;
}
