.highlightText {
  background: linear-gradient(154deg, #f23d4c 16.07%, #f99f38 83.87%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.network-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ------------- Network Info Section ------------- */

.network-info-card {
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
  padding: 30px;
  border-radius: 40px;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1),
    0px 4px 24px 0px rgba(0, 0, 0, 0.1);
  align-items: stretch;
}

.network-info-left,
.network-info-right {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.network-info-left {
  justify-content: space-between;
  gap: 10px;
}

.network-info-right {
  gap: 10px;
}

.network-info-right > div {
  flex: 1;
}

.network-stats {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
}

.network-info-details {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.network-info-details > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.network-image {
  width: 110px;
  height: auto;
  object-fit: contain;
}

.network-left-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  padding-top: 10px;
}

.stake-token-title,
.stake-token-value,
.network-info-title,
.network-left-title,
.network-info-value,
.network-intro {
  color: #101820;
  font-family: "Poppins", sans-serif;
  margin: 0;
}

.network-intro {
  font-size: 0.9rem;
}

.stake-token-title {
  font-size: 1.5rem;
  font-weight: 400;
}

.stake-token-value {
  font-size: 2.5rem;
  font-weight: 600;
}

.network-info-title {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.network-info-value {
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.network-info-value span {
  font-size: 1.125rem;
  font-weight: 500;
  color: #627192;
  margin-left: 10px;
}

.total-stake-wrapper > div {
  display: flex;
  flex-direction: column;
}

.market-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  align-self: stretch;
}

.button-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  font-family: "Poppins", sans-serif;
}

/*--------- Buttons ------------ */
.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.button-grid .infoBtn {
  width: 100%; /* Makes all buttons take full width inside the grid */
}

.button-grid > a:nth-last-child(1):nth-child(3) {
  grid-column: span 2;
  text-align: center;
}

.infoBtn {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 1;
  background: white;
  color: #ff5733;
  border: 1px solid #ff5733;
  padding: 10px 0 10px 30px;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
  will-change: color, border-color;
  width: 100%;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  box-sizing: border-box;
}

.infoBtn span {
  margin-right: 20px;
  padding-left: 5px;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.infoBtn::before {
  z-index: -1;
  content: "";
  position: absolute;
  background: linear-gradient(to right, #ff5733, #ffc300);
  inset: 0;
  clip-path: circle(6px at 20px 50%);
  transition: clip-path 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translate3d(0, 0, 0);
  will-change: clip-path, translate3d;
}

/* Secondary Button */
.infoBtn.secondary-btn {
  color: #0d204a;
  border: 1px solid #0d204a;
}

.infoBtn.secondary-btn::before {
  background: #0d204a;
}

/* Disabled Button */
.infoBtn.disabled-btn {
  cursor: not-allowed;
  opacity: 0.5;
}

.infoBtn.disabled-btn::before {
  display: none;
}

/* Hover effects */
.infoBtn:hover {
  color: #ffffff;
}

.infoBtn:hover::before {
  clip-path: circle(100% at 50% 50%);
}

.infoBtn:hover span {
  transform: translateX(-15px);
}

/* Secondary Button Hover */
.infoBtn.secondary-btn:hover {
  color: #ffffff;
}

/* Disabled button should not react to hover */
.infoBtn.disabled-btn:hover {
  color: inherit;
}

.infoBtn.disabled-btn:hover span {
  transform: none;
}

/* Mobile layout - Single column */
@media (max-width: 768px) {
  .button-grid {
    grid-template-columns: 1fr;
  }

  .button-grid > a:nth-last-child(1):nth-child(3) {
    grid-column: span 1;
  }
}

/* ----------------- Network Staking Buttons ----------------- */
.staking-buttons-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* Over riding the default btn styles */
.network-staking-btn-container {
  display: flex;
  width: 50% !important;
}

.network-staking-btn {
  width: 100%;
  color: F23D4C !important;
  border: 1px solid #f23d4c !important;
}

.network-staking-btn:hover {
  background-color: transparent !important;
  color: #fff !important;
}

.network-staking-btn:focus {
  background-color: transparent !important;
}

.network-staking-btn::before {
  background: linear-gradient(to right, #f23d4c, #f23d4c) !important;
}

.network-staking-btn span {
  margin-right: 0 !important;
}

.disabled-button {
  flex: 1;
  height: 49px;
  cursor: not-allowed;
  padding: 10px 0px 10px 30px;
  border: 1px solid #101820;
  border-radius: 20px;
  color: #101820;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* ------------- Calc Section ------------- */
.calc-wrapper {
  position: relative;
  width: 100%;
}

.calc-header-text {
  font-family: "all-round-gothic", sans-serif;
  font-size: 3.25rem;
  font-weight: 600;
  color: #101820;
  margin: 0;
}

.calc-header-p {
  font-family: "Popins", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #101820;
  margin: 0 0 60px 0;
}

.calc-bigbox {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.blur-calculator {
  filter: blur(5px);
}

.calc-input-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 76px;
  background: #fff;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  gap: 40px;
}

.calc-input-text {
  font-family: "Popins", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.calc-input-right {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.calc-input-right > div {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.calc-input {
  border-radius: 76px !important;
  background: #fff;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1);
  padding: 10px 30px !important;
  transition: border 0.3s ease;
}

.calc-input[type="number"] {
  border: 2px solid #e5e8ef;
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-input[type="number"]:focus {
  border: 1px solid #f23d4c;
}

.calc-input:focus {
  outline: none;
}

.calc-input-btn,
.calc-stake-btn {
  border-radius: 33px;
  background: linear-gradient(154deg, #f23d4c 16.07%, #f99f38 83.87%);
  border: 1px solid #f9f9f9;
  padding: 10px 36px;
  font-family: "Popins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border: 1px solid transparent;
}

.calc-stake-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.calc-input-btn:hover {
  border: 1px solid #f23d4c;
  background: linear-gradient(154deg, #fff 16.07%, #fff 83.87%);
  color: #f23d4c;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.calc-result-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1;
}

.result-value-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.result-title,
.result-value-crypto,
.result-value {
  font-family: "Popins", sans-serif;
  margin: 0;
  color: #101820;
}

.result-title {
  font-size: 1.1rem;
  font-weight: 300;
  margin: 0 0 30px 0;
}

.result-value-crypto {
  font-size: 1.3rem;
  font-weight: 600;
}

.result-value {
  font-size: 1.3rem;
  font-weight: 300;
}

.calc-error {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  gap: 15px;
  width: 100%;
}

.apr-error-pill {
  display: flex;
  padding: 5px 20px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 36px;
  background: var(
    --grad,
    linear-gradient(154deg, #f23d4c 16.07%, #f99f38 83.87%)
  );
}

.apr-error-pill p {
  font-family: "Popins", sans-serif;
  color: #fff;
  font-size: 1rem;
  font-style: italic;
  text-align: center;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 1024px) {
  .network-info-card {
    margin: 80px 0;
    flex-direction: column;
  }

  .button-box {
    margin-top: 20px;
  }

  .network-info-right {
    gap: 20px;
  }

  .calc-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .network-info-card {
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  .network-stats {
    padding-top: 10px;
    justify-content: center;
  }

  .market-info {
    flex-direction: column;
    gap: 10px;
  }

  .network-info-value {
    margin-bottom: 5px;
  }

  .officialSiteBtnContainer {
    width: 100% !important;
  }

  .disabledOfficialSiteBtn {
    width: 100%;
  }

  .staking-buttons-wrapper {
    flex-direction: column;
  }

  .staking-buttons-wrapper {
    gap: 10px;
  }

  .network-staking-btn-container,
  .network-staking-btn,
  .disabled-button {
    width: 100% !important;
  }

  .network-info-details {
    flex-direction: column;
    gap: 40px;
  }

  .calc-input-box {
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-radius: 20px;
  }

  .calc-input-right {
    flex-direction: column;
    gap: 20px;
  }

  .calc-results {
    grid-template-columns: repeat(1, 1fr);
  }

  .calc-result-box {
    border-radius: 20px;
  }
}
