:root {
  --max-width: 1100px;
  --border-radius: 12px;
  --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
    "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
    "Fira Mono", "Droid Sans Mono", "Courier New", monospace;

  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;

  --primary-glow: conic-gradient(from 180deg at 50% 50%,
      #16abff33 0deg,
      #0885ff33 55deg,
      #54d6ff33 120deg,
      #0071ff33 160deg,
      transparent 360deg);
  --secondary-glow: radial-gradient(rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0));

  --tile-start-rgb: 239, 245, 249;
  --tile-end-rgb: 228, 232, 233;
  --tile-border: conic-gradient(#00000080,
      #00000040,
      #00000030,
      #00000020,
      #00000010,
      #00000010,
      #00000080);

  --callout-rgb: 238, 240, 241;
  --callout-border-rgb: 172, 175, 176;
  --card-rgb: 180, 185, 188;
  --card-border-rgb: 131, 134, 135;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground-rgb: 255, 255, 255;
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;

    --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
    --secondary-glow: linear-gradient(to bottom right,
        rgba(1, 65, 255, 0),
        rgba(1, 65, 255, 0),
        rgba(1, 65, 255, 0.3));

    --tile-start-rgb: 2, 13, 46;
    --tile-end-rgb: 2, 5, 19;
    --tile-border: conic-gradient(#ffffff80,
        #ffffff40,
        #ffffff30,
        #ffffff20,
        #ffffff10,
        #ffffff10,
        #ffffff80);

    --callout-rgb: 20, 20, 20;
    --callout-border-rgb: 108, 108, 108;
    --card-rgb: 100, 100, 100;
    --card-border-rgb: 200, 200, 200;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(to bottom,
      transparent,
      rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

a:hover {
  color: #7cb3d7;
}

#rotate-message {
  display: none;
  /* Hide the message by default */
}

@media (max-width: 600px) {
  #rotate-message {
    display: block;
    /* Show the message when the device width is less than 600px */
  }

  #mainSection {
    display: none;
    /* Hide the main content */
  }
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background-color: #161616;
  font-family: "Golos", sans-serif, Arial, Helvetica;
}

.header {
  width: 100%;
  background-color: #111111;
}

.topHeader {
  display: flex;
  align-items: center;
  color: #bbbbbb;
  height: 3rem;
  font-size: 0.85rem;
  padding: 0 2.5rem;
  border-bottom: 1px solid #222222;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.3rem;
  padding: 0 2.5rem;
  /* border-bottom: 1px solid #222222; */
}

.logo {
  width: 50%;
  height: auto;
  font-size: 24px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cccccc;
  width: 44rem;
  letter-spacing: 0.01rem;
}

.menu>p {
  display: flex;
  align-items: center;
}

.menu>p:hover {
  color: #3778ad;
  cursor: pointer;
}

.signIn {
  justify-content: space-between;
  width: 4.5rem;
}

.profile {
  width: 1.1rem;
}

.arrow {
  display: flex;
  width: 1rem;
}

.searchContainer {
  width: 100%;
}

.searchHeader {
  display: flex;
  background-color: rgba(0, 0, 0, 0.506);
  background-image: url("/assets/images/black_boxes.webp");
  height: 12rem;
  /* padding: 0 6.5rem; */
  padding-top: 1.5rem;
}

.adSection {
  display: flex;
  justify-content: center;
  background-color: #3778adc7;
  /* color: #3778ad; */
  width: 30%;
  height: 60%;
  margin-left: 5rem;
  align-items: center;
  border-radius: 1rem;
}

.adtext {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

.adSection>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 13rem;
  margin-left: 1rem;
  padding-left: 0.5rem;
}

.float {
  animation-name: Floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes Floating {
  from {
    transform: translate(0, 0px);
  }

  50% {
    transform: translate(0, 10px);
  }

  to {
    transform: translate(0, -0px);
  }
}

.wizard {
  width: 8rem;
}

.input_section {
  display: flex;
  align-items: center;
  width: 50.5rem;
  height: 3rem;
  border: 1px solid #191919;
  border-radius: 0.3rem;
}

.inputField {
  width: 48rem;
  color: #ffffff;
  height: 2rem;
  padding-left: 2rem;
  border: none;
  background-color: #fff;
  font-size: 1rem;
}

.inputField::placeholder {
  color: #bbbbbb;
  font-size: 1rem;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
  background-color: #3a82be;
  border: none;
  outline: none;
  border-radius: 0.3rem;
  cursor: pointer;
}

.magnifying {
  width: 1.1rem;
}

.sponsored {
  /* display: flex; */
  align-items: center;
  font-size: 0.9rem;
  color: #cccccc;
  padding-top: 1rem;
  /* padding-left: 0.3rem; */
  font-weight: bold;
}

.bean {
  padding: 0 0.2rem;
}

.claim {
  padding-left: 0.3rem;
}

.searchResults {
  background-color: #111111;
  margin: -2.5rem 6rem 3.5rem 6rem;
  border: 1px solid #222222;
  border-radius: 1rem;
  box-shadow: 0rem 0 1.5rem #ffffff09;
  padding: 1rem;
  color: #7cb3d7;
}

.searchResults>p {
  letter-spacing: 0.02rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #191919;
  margin-bottom: 1rem;
}

.searchSection {
  padding-right: 0px;
  padding-left: 0px;
  /* max-width: 50.5rem; */
}

.searchSection>h3 {
  padding-bottom: 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.02rem;
  color: #ffffff;
}

.hero_box>p {
  margin-bottom: 0;
}

.blueText {
  color: #7cb3d7;
}

.blueNumber {
  color: #7cb3d7;
}

.txnSection {
  display: flex;
  flex-direction: column;
  align-content: space-between;
}

.txnTitle {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #191919;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  color: #7cb3d7;
}

.txnTitle>th {
  width: 9rem;
  text-align: center;
}

.txn {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #191919;
}

.txn>td {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 9rem;
  height: 3rem;
  text-align: center;
}

.transfer {
  font-size: 0.8rem;
  /* width: 8rem; */
  background-color: #151515;
  padding: 0.35rem 1.2rem;
  border: 1px solid #2c2c2c;
  border-radius: 0.3rem;
}

.inTxn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 1.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #161f1d;
  color: #479f87;
  border: 1px solid #223f37;
  border-radius: 0.3rem;
}

.outTxn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 1.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #2d2615;
  color: #96792a;
  border: 1px solid #4c3f1e;
  border-radius: 0.3rem;
}

.heroSectionContainer {
  position: relative;
  width: 100%;
  margin-top: -2.5rem;
  padding-bottom: 1rem;
}

.latestResults_header {
  display: flex;
  justify-content: space-between;
  background-color: #111111;
  color: #cccccc;
  height: 11rem;
  margin: 0 8.5rem;
  border: 1px solid #222222;
  border-radius: 1rem;
  box-shadow: 0rem 0 1.5rem #ffffff09;
}

.latestResults_header>div {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: space-evenly;
  width: 100%;
  letter-spacing: 0.01rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid #222222;
}

.latestResults_box {
  display: flex;
  align-items: center;
  /* width: 25rem; */
  height: 9rem;
  /* padding-left: 2rem; */
}

.latestResults_box_icons {
  color: #7cb3d7;
  font-size: 2em;
}

.theme_icons {
  color: #7cb3d7;
  font-size: 1em;
}

.hero_averageValue {
  width: 100%;
  height: 100%;
}

.hero_averageValue>p {
  padding: 0.2rem;
}

.chart {
  /* padding-top: 0.1rem; */
  width: 100%;
  /* height: 75%; */
}

.divider {
  border-bottom: 1px solid #222222;
  width: 100%;
}

.svgSection {
  text-align: center;
  width: 2.2rem;
  margin-right: 0.75em;
  vertical-align: middle;
}

.svgEth {
  width: 1.1rem;
  margin-right: 0.5rem;
}

.svgIcons {
  font-size: 1.3rem;
  margin-right: 0.5rem;
}

.heroValues {
  color: #ffffff;
  font-weight: bold;
}

.latestResults_body {
  display: flex;
  justify-content: space-between;
  margin: 1rem 8.5rem;
}

.latestResults_body>div {
  display: flex;
  flex-direction: column;
  width: 49.5%;
  height: 100%;
  /* padding: 1rem 0; */
  border: 1px solid #222222;
  border-radius: 1rem;
  box-shadow: 0rem 0 1.5rem #ffffff09;
}

.latestResults_body_title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 4rem;
  padding: 0.1rem;
  border-bottom: 1px solid #222222;
  color: #ffffff;
}

.latestResults_body_table {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #cccccc;
  /* padding: 0 1rem; */
}

.latestResults_body_table>tbody {
  width: 99%;
}

.latestResults_body_tr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222222;
  width: 100%;
  height: 5rem;
  padding: 0 0.1rem;
  /* background-color: red; */
}

.lastTd {
  border: none;
}

.tdIcon {
  width: 2rem;
}

.tdContract {
  width: 1.3rem;
}

.tdBlock {
  width: 5rem;
  /* padding-left: 1rem; */
}

.tdTxns {
  width: 16rem;
}

.tdValue {
  width: 6rem;
  text-align: center;
  font-size: 0.8rem;
  background-color: #151515;
  /* padding: 10px; */
  /* border: 1px solid #2c2c2c; */
  border-radius: 0.3rem;
}

.tdFromTo {
  width: 18rem;
  margin: 1.5rem;
}

.custom-tooltip-style {
  background-color: transparent;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

i.custom-tooltip-style:hover {
  cursor: help;
  position: relative;
}

i.custom-tooltip-style span {
  display: none;
}

i.custom-tooltip-style:hover span {
  padding: 10px;
  border: #222222 2px solid;
  display: inline-block;
  white-space: nowrap;
  z-index: 100;
  background: white;
  color: black;
  left: 0px;
  margin: 15px;
  position: absolute;
  top: 30px;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
}

span.toolTipText:hover {
  cursor: help;
  position: relative;
}

span.toolTipText {
  display: none;
}

span.toolTipText:hover {
  padding: 10px;
  border: #222222 2px solid;
  display: inline-block;
  white-space: nowrap;
  z-index: 100;
  background: white;
  color: black;
  left: 0px;
  margin: 15px;
  position: absolute;
  top: 30px;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
}

.smallText {
  font-size: 0.875em;
}

.boldText {
  font-weight: bold;
}

.nav-link:hover {
  color: #7cb3d7;
}

html {
  font-size: 1rem;
}

.langMenu {
  color: #fff;
  position: absolute;
  right: 0;
}

.tdTxnsCol1 {
  width: 25%;
}

.tdTxnsCol2 {
  width: 75%;
}

.tdTxnsCol3 {
  width: 15%;
}

.tdTxnsCol4 {
  width: 5%;
}

.loading-squares {
  display: inline-block;
  width: 100px;
  height: 20px;
  overflow: hidden;
}

.square {
  width: 20px;
  height: 20px;
  background-color: white;
  display: inline-block;
  margin-right: 5px;
  animation: move 1s linear infinite;
}

@keyframes move {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@media only screen and (max-width: 1800px) {
  .latestResults_header {
    margin: 2rem 2rem;
  }

  .latestResults_body {
    margin: 2rem 2rem;
  }
}

@media only screen and (max-width: 1400px) {
  .latestResults_header {
    margin: 1rem 1rem;
  }

  .latestResults_body {
    margin: 1rem 1rem;
  }
}

@media only screen and (max-width: 1200px) {
  html {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 0.9rem;
  }

  .themeMenu {
    font-size: 0.9rem;
  }

  .heroSectionContainer {
    margin-top: 2rem;
  }

  .navbarPadding {
    padding-left: 0rem;
  }

  /* disable tooltips on smaller devices */
  .custom-tooltip-style {
    display: none !important;
  }

  .latestResults_header {
    display: inherit;
  }

  .tdTxnsCol1 {
    width: 15%;
  }

  .tdTxnsCol2 {
    width: 85%;
  }

  .latestResults_body_title {
    padding: 0rem;
  }

  .latestResults_body_tr {
    padding: 0rem;
  }
}

@media only screen and (max-width: 800px) {
  .topHeader {
    padding: 0 0.5rem;
  }

  .latestResults_box_icons {
    font-size: 1.2em;
  }

  .svgSection {
    width: 1.2rem;
    margin-right: 0.25em;
  }
}

/* Add styling for the asset column */
.col-asset {
  min-width: 60px;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Adjust the width of other columns to accommodate the new asset column */
.col-value {
  min-width: 100px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .col-asset {
    min-width: 50px;
  }

  .col-value {
    min-width: 80px;
  }
}

/* Add styling for the badge */
.badge {
  padding: 0.5rem 0.5rem;
  /* Add padding to the badge */
  color: #fff;
  /* Ensure the text is visible */
  border-radius: 0.2rem;
  /* Add rounded corners */
}

/* Improve contrast for badges with Bootstrap background colors */
.badge.bg-success {
  background-color: #0f5132 !important;
  /* Darker green for better contrast with white text */
}

.badge.bg-danger {
  background-color: #a71d2a !important;
  /* Darker red for better contrast with white text */
}

.gradient-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #D4AF37, #00c3ff, #fffd37);
  background-clip: text;
  -webkit-background-clip: text;
  /* For Safari/Chrome */
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* For Safari/Chrome */
  display: inline-block;
}