:root {
  /*--card: hsl(0, 0%, 5.5%);*/
  --card: rgba(255, 255, 255, 0.09); /* white with 10% opacity */
  --input: hsl(0,0%, 100%);
  /*--label: hsl(0, 0%, 60%);*/
  --label: rgba(255, 255, 255, 0.60); /* white with 60% opacity */
  --border-color: hsl(0, 0%, 21%);
  --border-color-disabled: rgba(51, 51, 51, 0.5);
  --border-hover-color: hsl(15, 2%, 39%);
  --border-hover-color-red: hsl(0, 100%, 25%);
  --border-color-good: #353839;
  /*--ph-color: #353839;*/
  --ph-color: hsl(195, 4%, 30%);

  --border: 1px solid var(--border-color);
  --border-green-hue: 1px solid var(--green-hue);
  



  --border-disabled: 1px solid var(--border-color-disabled);
  --border-hover: 1px solid var(--border-hover-color);
  --border-hover-red: 1px solid var(--border-hover-color-red);
  --border-dashed: 1px dashed var(--border-color);
  --border-dashed-hover: 1px dashed var(--border-hover-color);
  
  --card-hover-color-old: #212121;
  --card-hover-color: rgba(255, 255, 255, 0.12); /* white with 12% opacity */

  --background: #000;
  --green-hue-old: hsl(144, 100%, 49%);
  --green-hue: hsl(144, 100%, 35%);
  --green-hue-hover: hsl(144, 100%, 35%);
  --green-card: hsl(144, 100%, 6%);
  --green-dark: hsl(144, 100%, 5%);
  --green: #00FC65;
  --green-buy: hsl(144, 100%, 20%);
  --red-card: hsl(0, 100%, 6%);
  --border-red: 1px var(--border-red-color) solid;
  --border-red-color: hsl(0, 100%, 20%);
  --red-back:  hsl(0, 100%, 7%);
  --red-dark:  hsl(0, 100%, 6%);


--spin-time: 50s;
--circle-size: 2000px;
--circle-stroke: 1px;
--displacement: 0%;

}
/*--background: #020403*/

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth; /* <--- */
}



/* Hide the corner */
::-webkit-scrollbar-corner {
  background: transparent; /* Make the corner transparent to hide it */
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--card);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6E6E6E;
}

input {
  color: var(--input);
}

::placeholder {
  color: var(--ph-color);
  opacity: 1; /* Firefox */
}

#main {
  min-height: 100dvh;
}


html {
    z-index: -3;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;

}


body {
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    color: white;
    overflow-x: inherit;
    overflow-y: scroll;

}


.profile {
  margin: auto auto;
  max-width: 834px;
}

.exchange-profile {
  margin: auto auto;
  /*max-width: 1670px;*/
  max-width: 2048px;
}

.w-38px {
  width: 38px;
}

.h-38px {
  height: 38px;
}


.f-w-bold {
  font-weight: bold;
}

.f-w-medium {
  font-weight: medium;
}

.color-green {
  color: var(--green);
}

.l-h-38px {
  line-height: 38px;
}

.l-h-18px {
  line-height: 18px;
}

.l-h-20px {
  line-height: 20px;
}
.l-h-22px {
  line-height: 22px;
}

.l-h-26px {
  line-height: 26px;
}

.max-w-320px {
  max-width: 320px;
}

.h-500px {
  height: 500px;
}

.max-h-500px {
  max-height: 500px;
}

.max-w-100px {
  max-width: 100px;
}

.max-w-600px {
  max-width: 600px;
}

.max-w-100pre {
  max-width: 100%;
}
.min-w-100pre {
  min-width: 100%; 
}

.min-w-30px{
  min-width: 30px;
}

.min-w-50px{
  min-width: 50px;
}
.min-w-70px{
  min-width: 70px;
}
.min-w-200px {
  min-width: 200px;
}

.min-h-60px {
  min-height: 60px;
}

.max-w-300px {
  max-width: 300px;
}

.max-w-min-100pre-400px {
  max-width: min(100%, 320px);
}

.max-h-200px {
  max-height: 200px;
}

.max-w-400px {
  max-width: 400px;
}

.max-w-834px {
  max-width: 834px;
}

.max-w-1120px {
  max-width: 1120px;
}
.min-w-1120px {
  min-width: 1120px;
}

.min-w-300px {
  min-width: 300px;
}

.m-l-5px {
  margin-left: 5px;
}

.m-l-10px {
  margin-left: 10px;
}

.m-l-20px {
  margin-left: 20px;
}

.m-r-20px {
  margin-right: 20px;
}

.m-20px {
  margin: 20px;
}

.m-l-30px {
  margin-left: 30px;
}




.la {
  margin-right: auto;
  
}

.picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: start;
  justify-items: start;
  max-height: 330px;
  overflow-y: scroll;
}


.picker-card {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--card);
  color: white;
  border: none;
  border-radius: 15px;
}

.back-color-card {
  background-color: var(--card);
}

.card-blank {
  display: block;
  background-color: var(--card);
  border-radius: 15px;
  text-align: left;
  border: 1px solid transparent;
  min-width: 100px;
}

.min-w-auto {
  min-width: auto;
}

.card-no-min {
  display: block;
  background-color: var(--card);
  border-radius: 15px;
  text-align: left;
  border: 1px solid transparent;
}

.card {
  display: block;
  background-color: var(--card);
  border-radius: 15px;
  text-align: left;
  border: 1px solid transparent;
  min-width: 100px;
}

.short-card {
  border-radius: 15px;
  border: 1px solid transparent;
  min-height: 56px;
  display: flex;
  font-size: 14px;
  white-space: nowrap;
}



.h-50pre {
  height: 50%;
}

.o-50pre {
  opacity: 50%;
}

.card:active {
  border: var(--border);
}

.card:focus {
  border: var(--border);
}

.card-no-min:active {
  border: var(--border);
}

.card-no-min:focus {
  border: var(--border);
}

.card-green {
  display: block;
}

.sml-card {
  display: block;
  background-color: var(--card-hover-color);
  border-radius: 15px;
}



.card-hover-color {
  background-color: var(--card-hover-color);
}

.red-card {
  display: block;
  background-color: var(--red-card);
  border-radius: 15px;
}

.red-back {
  background-color: var(--red-back);
}

.back-border-red {
  background-color: var(--border-red-color);
}

.m-l-auto {
  margin-left: auto;
}

.name-card {
  display: flex;
  max-width: 70%;
}

.pos-rel {
  position: relative;
}

.pos-abs {
  position: absolute;
}

.pos-fixed {
  position: fixed;
}
.pos-sticky {
  position: sticky;
}

.l-10px {
  left: 10px;
}

.tagged-input {
  position: relative;
  
}

.tagged-input > .tag {
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 10px;
  height: 100%;
  display: flex;
  align-items: center;
}

.max-txt-170px {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.txt-ovf-ellipsis {
  text-overflow: ellipsis;
}
.bar {
  display: flex;
  gap: 10px;
  padding-left: 10px;
  padding-right: 10px;
  flex-wrap: wrap-reverse;
}


.account-img {
  
  object-fit: contain;
}

.circle-mask {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  border: var(--border);
  transform: translate(-50%, -50%);
  /* This will allow the image beneath to be visible through the circle */
  box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.9);
}

#left-right > span {
  min-width: 350px;
}

#line-cont {
  position: relative;
  min-width: 2px;
  overflow: hidden;
  margin-top: 20px;
}

#line-svg {
  min-width: 2px;
  position: absolute;
  overflow: hidden;
  max-height: 100%;
  padding-top: 17px;
}

#total-map {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  flex-grow: 1;
  
}

#titledata {
  position: relative;
  /*left: -24px;*/
  align-items: center;
  padding-bottom: 20px;
  gap: 14px;
}

#map-dot {
  display: inline-flex;
  left: -25px;
}

#map-photo {
  justify-content: flex-end;
  flex-direction: row;
  display: flex;
  width: 100%;
  border-radius: 15px;
}

#map-photo > div {
  margin-bottom: auto;
  
  padding: 14px;
  
}

.al-items-strech {
  align-items: stretch;
}

.svg-container {
  display: flex;  
}

.svg-container img {
  width: 120px;
  max-height: 120px;
}


.svg-container-small {
  top: -10px;
}

.svg-container-small img {
  width: 60px;
  max-height: 60px;
}
#tokentitle {
  min-height: 40px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  width: 100%;
}

#aiotxt {
  padding-top: 14px;
  font-size: 15px;
  max-width: 500px;
  line-height: 20px;
  box-sizing: border-box;
}

.txt-al-right {
  text-align: right;
}
.f-s-24px {
  font-size: 24px;
}

.f-s-22px {
  font-size: 22px;
}

.line-h-24px {
  line-height: 24px;
}

.w-62px {
  width: 62px;
}

.h-62px {
  height: 62px;
}

.w-73px {
  width: 73px;
}

.h-73px {
  height: 73px;
}


.large-photo {
  order: 0;
  display: inline-block;
  min-width: 62px;
  background-color: var(--card-hover-color);
  border-radius: 50%;
  border: 0px solid #CDCDCD;
  text-align: center;
  color: #fff;
  font-size: 15px;
  margin-right: 10px;
  overflow: hidden;
}

.large-photo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.asset-logo {
  object-fit: cover;
  background-color: goldenrod;
  width: 26px;
  height: 26px;
  border-radius: 50%; 
}

.asset-logo > img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-logo {
  left: 21px;
  width: 24px;
  height: 24px;
  position: absolute;
}

.pair-logo {
  position: relative;
  display: flex;
  align-items: center;
  width: 48px;
}

.asset-logo-sml {
  object-fit: cover;
  background-color: goldenrod;
  width: 18px;
  height: 18px;
  border-radius: 50%; 
}

.asset-logo-sml > img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-logo-sml {
  left: 15px;
  width: 16px;
  height: 16px;
  position: absolute;
  z-index: -1;
}

.pair-logo-sml {
  position: relative;
  display: flex;
  align-items: center;
  width: 28px;
}


#signup-img {
  width: 100%;
  object-fit: cover;
  position: absolute;
  display: block;
}

#signin-img {
  width: 100%;
  object-fit: cover;
  position: absolute;
  display: block;
  bottom: -140px;
}


.signin-background {
  background: linear-gradient(to bottom, #0B1D0C, #010602);
  background-size: 100% 125%;
}

.signup-background {
  background: linear-gradient(to bottom, #10181D, #010602);
  background-size: 100% 125%;
}

.min-w- {
  min-width: min(397px, 100vw);
  flex: 1;
}

#contact-us-side {
  min-width: min(397px, 100%);
  flex: 1;
}

#contact-us-form {
  min-width: min(397px, 100%);
  flex: 1;
}

.max-w-420px {
  max-width: 420px;
}



.sign {
  text-align: left;
  max-width: 420px;
  padding-left: 10px;
  padding-right: 10px;
  flex-grow: 1;
  /* this margin is very important it center child with parent*/
  
}

#sign-left {
  justify-content: space-between;
  padding: 10px 10px 3px 10px;

}

.font-w-500 {
  font-weight: 500;
}

.ovf-y-scroll {
  overflow-y: auto;
}


.d-flex {
  display: flex;
  /*min-width: 300px;*/
}


.d-none {
  display: none;
}

.height-100pre {
  height: 100%;
}

.f-nowrap {
  flex-wrap: nowrap;
}

.overflow-auto {
  overflow: auto;
}

.overflow-x-scroll {
  overflow-x: scroll;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.max-w-575px {
  max-width: 575px;
}


.overflow-hidden {
  overflow: hidden;
}

.f-shrink {
  flex-shrink: 0;
}

.h-100pre {
  height: 100%;
}

.p-rel {
  position: relative;
}

.p-abs {
  position: absolute;
}

.w-s-nowrap {
  white-space: nowrap;
}

.w-100pre {
  width: 100%;
}

.f-j-c-start {
  justify-content: flex-start;
}

.j-c-end {
  justify-content: end;
}

.f-j-c-end {
  justify-content: flex-end;
}

.j-c-ev {
  justify-content: space-evenly;
}

.j-c-bet {
  justify-content: space-between;
}

.j-c-cent {
  justify-content: center;
}

.d-f-j-c-cent {
  justify-content: center;
}

.d-f-j-c-s-b {
  justify-content: space-between;
}

.f-j-c-end {
  justify-content: end;
}
.f-j-c-left {
  justify-content: left;
}

.f-g-1 {
  flex-grow: 1;
}

.f-b-0 {
  flex-basis: 0;
}

.f-a-s-c {
  justify-self: center;
  align-self: center;
}

.d-f-gap {
  gap: 10px;
}

.gap-20px {
  gap: 20px;
}
.gap-24px {
  gap: 24px;
}
.gap-40px {
  gap: 40px;
}
.gap-5px {
  gap: 5px;
}
.gap-10px {
  gap: 10px;
}

.gap-14px {
  gap: 14px;
}

.d-f-gap-14px {
  gap: 14px;
}

.f-b-100pre {
  flex-basis: 100%;
}
.f-0-0-100pre {
  flex: 0 0 100%;
}
.f-wrap {
  flex-wrap: wrap;
}

.f-shrink-0 {
  flex-shrink: 0;
}


.f-dir-col {
  flex-direction: column;
}

.f-col-rev {
  flex-direction: column-reverse;
}

.f-d-r-r {
  flex-direction: row-reverse;
}

.d-f-j-c-cent {
  justify-content: center;
}

.f-grow {
  flex-grow: 1;
}

.m-auto {
  margin: auto;
}

.m-l-auto {
  margin-left: auto;
}

.m-r-auto {
  margin-right: auto;
}

.m-t-auto {
  margin-top: auto;
}

.m-b-auto {
  margin-bottom: auto;
}

.m-auto-auto {
  margin: auto auto;
}

.m-b-20px {
  margin-bottom: 20px;
}

.m-b-14px {
  margin-bottom: 14px;
}

.p-b-10px {
  padding-bottom: 10px;
}

.m-b-10px {
  margin-bottom: 10px;
}

.m-t-b-auto {
  margin-top: auto;
  margin-bottom: auto;
}
.m-t-2px{
  margin-top: 2px;
}

.m-t-3px{
  margin-top: 3px;
}

.m-t-5px {
  margin-top: 5px;
}

.m-b-5px {
  margin-bottom: 5px;
}

.m-t-10px {
  margin-top: 10px;
}

.m-t-14px {
  margin-top: 14px;
}

.m-t-15px {
  margin-top: 15px;
}


.m-t-20px {
  margin-top: 20px;
}

.m-t-25px {
  margin-top: 25px;
}

.m-r-5px {
  margin-right: 5px;
}

.m-r-10px {
  margin-right: 10px;
}

.m-r-14px {
  margin-right: 14px;
}

.m-l-14px {
  margin-left: 14px;
}


.form-sign {
  clear: both;
}


.float-left {
  float: left;
  margin: auto 0;
}

.float-right {
  float: right;
}

.w-60pre {
    width: 60%;
}

.w-58pre {
  width: 58%;
}

.w-40pre {
  width: 40%;
}

.w-38pre {
  width: 38%;
}

.max-w-38pre {
  max-width: 38%;
}

.max-w-70pre {
  max-width: 70%;
}


.w-49pre {
  width: 49%;
}

.margin-right-2pre {
  margin-right: 2%;
}

.label-bot {
  padding-left: 10px;
  padding-right: 10px;
  color: var(--label);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-top: 10px;
  font-size: 12px;  
}


.btn-label {
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 12px;
  color: var(--label);
  font-size: 14px;
}

.m-14px {
  margin: 14px;
}

.pad-top-3px {
  padding-top: 3px;
}

.pad-top-5px {
  padding-top: 5px;
}

.pad-top-10px {
  padding-top: 10px;
}

.pad-top-12px {
  padding-top: 12px;
}


.pad-top-14px {
  padding-top: 14px;
}

.pad-top-20px {
  padding-top: 20px;
}

.pad-top-24px {
  padding-top: 25px;
}

.pad-top-25px {
  padding-top: 25px;
}

.pad-top-30px {
  padding-top: 30px;
}

.pad-top-32px {
  padding-top: 32px;
}

.pad-top-50px {
  padding-top: 50px;
}

.pad-bot-3px {
  padding-bottom: 3px;
}

.pad-bot-5px {
  padding-bottom: 5px;
}

.pad-bot-10px {
  padding-bottom: 10px;
}

.pad-bot-24px {
  padding-bottom: 25px;
}

.pad-bot-25px {
  padding-bottom: 25px;
}


.pad-bot-20px {
  padding-bottom: 20px;
}
.pad-bot-50px {
  padding-bottom: 50px;
}

.pad-bot-14px {
  padding-bottom: 14px;
}

.al-items-cent {
  align-items: center;
}

.al-items-f-end {
  align-items: flex-end;
  
}

hr {
  margin-top: auto;
  
}

.session {
  text-align: center;  
}



.page {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  position: relative;
  scroll-snap-type: y proximity;
}

.land {
  padding-top: 2em;
  width: 100vw;
}


main {
  display: flex;
  gap: 50px;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  
}

#footer {
  display: flex;
  padding-top: 30px;  
  padding-bottom: 40px;
  padding-left: 25px;
  padding-right: 25px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1120px;
  /*border-top:1px solid hsl(0, 0%, 12%);*/
  border-top: var(--border);
  border-radius: 30px;
  row-gap: 10px;
}

.footer-content {
  
  font-size: 14px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: auto;
  padding-bottom: 20px;
}

.footer-item {
  min-width: 175px;
  flex-grow: 1;
  
}

#foot-title {
  min-height: 20px;
  padding-top: 1px;
  color: var(--ph-color); 
}



.z-idx-1- {
  z-index: -1;
}

.z-idx-2 {
  z-index: 2;
}

#background-cont {
  z-index: -1;
  width: 100%;
  overflow: visible;
  max-height: 10px;
  top: 600px;
  position: relative;
  transform: scaleY(-1);
  
}

#background {
    width: 100%;    
    max-height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

#background > svg {
  object-fit: contain;
  min-width: 2000px; 
}

#token-back-cont {
  z-index: -2;
  width: 100%;
  position: relative;
  object-fit: contain;
}

#token-background {
  display: flex;
  position: absolute;
  opacity: 0.20;
  filter: blur(10px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: scale(5);
}


.row-gap {
  row-gap: 10px;
}

.row-gap-20px {
  row-gap: 20px;
}
.row-gap-30px {
  row-gap: 30px;
}
.row-gap-14px {
  row-gap: 14px;
}

.row-gap-1px {
  row-gap: 1px;
}



#land2 {
  padding-top: 75px;
}

#landing {
  width: 100%;
}



#data {
  width: 100%;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  padding-top: 10px;
}

#data > .title {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  width: 100%;
  max-width: 834px;
  text-align: center;

}

#data > .title > div {
  width: 100%;
  font-size: 21px;
  text-align: center;
  line-height: 32px;
  margin-bottom: 10px;  
}

#data > .title > span {
  width: 100%;
  font-size: 16px;
  margin: auto;
  text-align: center;
  
  line-height: 22px;
  color: var(--label);
  
}

#data > .tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  padding-right: 10px;
  padding-left: 10px;
}

#data > div {
  width: 100%;
  /*margin-top: 125px; old */
  margin-top: 35px;
  border-top: var(--border);
  background-color: #000;
}

#data > div > div {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  max-width: 1000px;
  gap: 100px;
  margin: auto;
  row-gap: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.bot-border {
  border-bottom: var(--border);
}

.top-border {
  border-top: var(--border);
}

#data > div > .wrap {
  flex-wrap: wrap;
}

#data > div > .wrap-reverse {
  flex-wrap: wrap-reverse;
}

#data > div > div > span {
  max-width: 450px;
  min-width: 350px;
  padding-left: 25px;
  padding-right: 25px;
  flex-grow: 1;
  margin-top: auto;
  margin-bottom: auto;
}

#data > div > div > .text {
  height: 100%;

}

#data > div > div > span > .title {
  font-size: 21px;
}

#data > div > div > span > .txt {
  color: var(--label);
  padding-top: 15px;
  /*font-weight: 100;*/
  line-height: 22px;
  font-size: 15px;
}

#test-div {
  border: var(--border);
  border-radius: 15px;
  background-color: black;
  width: 900px;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  min-height: 200px;
  flex-shrink: 0;

}

#slideshow {
  min-height: 200px;
  max-height: 50vh;
}

.logo-footer {
  margin-top: 3px;
  width: 80px;
  height: 15px;
  margin-right: auto;
}

footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    border-top:1px solid #323232;
  }

  .tab-btns-cent {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

.port {
    padding-top: 2em;
    display: flex;
    gap: 10px;
    justify-content: center;
    justify-items: start;
}

.m-r-117px {
  margin-right: 117px;
}

.fill-white {
  fill: var(--label);
}

.pad-1px {
  padding: 1px;
}

.pad-10px {
  padding: 10px;
}
.pad-14px {
  padding: 14px;
}
.pad-20px {
  padding: 20px;
}
.pad-25px {
  padding: 25px;
}
.pad-7px {
  padding: 7px;
  
}

.pad-left-5px {
  padding-left:  5px;
}

.pad-left-10pre {
  padding-left:  10%;
}

.search {
    padding-top: 1.2em;
    display: flex;
    justify-content: center;
    justify-items: start;
}

.letter-space-1px {
  letter-spacing: 1px;
}

.d-i-flex {
  display: inline-flex;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}



input[type="file"]::file-selector-button {
  padding-left: 10px;
  padding-right: 10px;
  height: 38px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;

  color: white;
  background-color: transparent;
  border:  var(--border);
}
input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: auto;  /* Removes any default width */
  
  padding: 0;   /* Removes any default padding */
  margin: 0;    /* Removes any default margin */
  box-sizing: border-box; /* Ensures padding and borders are included in width */
}

.w-0 {
  width: 0;
}

.grow-wrap {
  /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
  display: flex;
  flex-direction: column;
}

.grow-wrap > textarea {
  resize: none;  
}

.grow-wrap > textarea {
  /* Identical styling required!! */
  border: var(--border);
  padding: 10px;
  height: 140px;
}

.drop-down {
  position: absolute;
  top: 60px;
  left: -10px;
  border: var(--border);
  background-color: var(--background);
  z-index: 20;
  border-radius: 15px;
}

.email-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  padding-left: 10px;
}

.icon-suffix-left {
  position: absolute;
  left: 7px;
  top: 50%;
  display: flex;
  justify-items: center;
  align-items: center;
  transform: translateY(-50%);
  padding: 4px;
  border-width: 2px;
}

.pad-4px {
  padding: 4px;
}

.btn-circle {
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 60px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
  outline: none;
  justify-content: center;
}

.l-h-40px {
  line-height: 40px;
}

.btn {
    
    padding-left: 10px;
    padding-right: 10px;
    height: 38px;
    font-size: 14px;
    border-radius: 60px;
    transition: 0.3s;
    outline: none;
    display: inline-flex;
    align-items: center;
}


.green-card {
  background-color: var(--green-card);
}

.btn-green {
  padding-left: 10px;
  padding-right: 10px;
  height: 38px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-green:hover {
  background-color: var(--green-card);
  border: 1px solid var(--green-hue);
}
.o-none {
  outline: none;
}


.btn-white {
  padding-left: 10px;
  padding-right: 10px;
  height: 38px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-white:hover {
  background-color: var(--card);
  border: 1px solid white;
}

.btn-yellow {
  padding-left: 10px;
  padding-right: 10px;
  height: 38px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-yellow:hover {
  background-color: var(--yellow-card);
  border: 1px solid #ffd100;
}

.btn-red {
  padding-left: 10px;
  padding-right: 10px;
  height: 38px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-red:hover {
  background-color: var(--red-back);
  border: 1px solid hsl(0, 100%, 35%);
}


.border-txt-red-color {
  border: 1px red solid;
}

.border-red {
  border: 1px hsl(0, 100%, 20%) solid;
}

.border-green {
  border: 1px var(--green-buy) solid;
}

.back-border-green {
  background-color: var(--green-buy);
}

.txt-green-card {
  color: var(--green-card);
}

.btn-green-selected {
  background-color: var(--green-dark);
}

.btn-33 {
  padding-left: 10px;
  padding-right: 10px;
  height: 33px;
  width: 33px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;
}

.b-radius-15px {
  border-radius: 15px;
}

.b-radius-20px {
  border-radius: 20px;
}
.b-radius-60px {
  border-radius: 60px;
}
.overflow-y-scroll {
  overflow-y: scroll;
}

.overflow-y-hidden {
  overflow-y: hidden;
}

.btn:active {
  background-color: var(--card-hover-color);
  transform: scale(0.995);
}
.btn:hover {
  background-color: var(--card-hover-color);
}

.btn-48px:active {
  background-color: var(--card-hover-color);
  transform: scale(0.995);
}



.z-idx-p2 {
  position: relative;
  z-index: 3;
}

.z-idx-1{
  z-index: 1;
}
.z-idx-0 {
  z-index: 0;
}

.btn-card {
  background-color: var(--card);
  font-weight: 500;
  color: white;
  min-height: 64px;
  min-width: 100px;
  width: 100%;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  border: var(--border);
  cursor: pointer;
}

.btn-card-green {
  background-color: var(--green-dark);
  font-weight: 500;
  color: white;
  min-height: 64px;
  min-width: 100px;
  width: 100%;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  cursor: pointer;
}

.btn-card-green:hover {
  background-color: var(--green-card);
  border: 1px solid var(--green-hue);
}

.btn-card-red {
  background-color: var(--red-dark);
  font-weight: 500;
  color: white;
  min-height: 64px;
  min-width: 100px;
  width: 100%;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  cursor: pointer;
}

.btn-card-red:hover {
  background-color: var(--red-back);
  border: 1px solid hsl(0, 100%, 35%);
}

.btn-card-blank {
  background-color: var(--card);
  font-weight: 500;
  color: white;
  min-height: 64px;
  min-width: 100px;
  width: 100%;
  border-radius: 60px;
  border: 0;
  transition: 0.3s;
  outline: none;
}

.ph-color {
  color: var(--ph-color); 
  
}

.ph-color:hover {
  color: var(--label)
}

.btn-card:hover {
  background-color: var(--card-hover-color);
}

.btn-card-blank:hover {
  background-color: var(--card);
}

.btn-card-blank:active {
  border: var(--border-hover);
  transform: scale(0.995);
}

.btn-card:active {
  border: var(--border);
  transform: scale(0.995);
}

.border-hover {
  border:  var(--border-hover);
}

.border-hover-red {
  border:  var(--border-hover-red);
}

.border-no-hover {
  border: var(--border);
}

.border-green-hue {
  border: var(--border-green-hue);
}

.border-disabled {
  border: var(--border-disabled);
}
.border {
  border:  var(--border);
}

.border:focus {
  border: var(--border-hover);
}

.border:hover {
  border: var(--border-hover);
}

.border-dashed {
  border:  var(--border-dashed);
}

.border-dashed:focus {
  border: var(--border-dashed-hover);
}

.border-dashed:hover {
  border: var(--border-dashed-hover);
}

.trans {
  background-color: transparent;
}

.grey {
  background-color: var(--card);
}

.txt-lightgrey {
  color: lightgrey;
}

.back-white-5pre {
  background-color: rgba(255, 255, 255, 0.05); /* white with 5% opacity */
}

.grey-hover {
  background-color: var(--card-hover-color);
}


.green-dark {
  background-color: var(--green-dark);
}

.txt-green-hue {
  color: var(--green-hue);
}

.txt-al-cent {
  text-align: center;
}

.txt-al-left {
  text-align: left;
}

.gradient-text {
  font-weight: bold;
  background: linear-gradient(100deg,#d3d3d3, #ffffff ,#d3d3d3,#d3d3d3, #ffffff, #d3d3d3, #d3d3d3, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-txt {
  
  background: linear-gradient(100deg,#d3d3d3, #ffffff ,#d3d3d3,#d3d3d3, #ffffff, #d3d3d3, #d3d3d3, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-answer > span {
  font-size: 15px;
  color: var(--label);
}

.txt-white {
  color: #fff;
}

.txt-white-link {
  color: #D3D3D3;
  text-decoration: underline;
  cursor: pointer;
}

.txt-white-link:hover {
  color: white;
  cursor: pointer;
}

.txt-green {
  color: green;
}

.txt-yellow {
  color: #ffd100;
}

.border-yellow {
  border: 1px hsl(49, 100%, 20%) solid;
}

.red {
  background-color: red;
}

.txt-red {
  color: red;
}

.txt-grey {
  color: grey;
}

.no-border {
  border: 1px solid transparent;
}

.back-color-card:hover {
  border: var(--border);
}

.no-border-with-hover {
  border: 1px solid transparent;
}

.no-border-with-hover:hover {
  border: var(--border-hover);
}

.flex-cent {
    display: flex;
    align-items: center;
}
 

.txt-unline {
    text-decoration: underline;
}

.logo {
    padding-top: 2px;
    width: 100px;
    height: 50px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .logo-sml {
    padding-top: 2px;
    width: 85px;
    height: 50px;
    padding-left: 5px;
    padding-right: 5px;
  }
  
.btn-400px {
  width: 100%;
  max-width: 400px;
}


.popup {
  min-width: 100%;
  min-height: 100%;
  margin: auto auto;
  background-color:#000;
  position: fixed;
  display: flex;
  justify-content: center; align-items: center;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  background-color: hsla(0, 0%, 0%, 0.85);
}


.pop-div {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #000;
  border-radius: 15px;
  border:var(--border);
  position: relative;
  min-width: 350px;
  max-width: 100%;
}

.pad-right-10px {
  padding-right: 10px;
  
}

select {
  text-align: center;
}

option, optgroup {
  text-align: left;
}
select, option, optgroup {
  background-color: #000;
  
}

.overlay-div {
  /*position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);*/
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  padding: 20px;
}

.overlay-box {

  width: 100%;
  height: 100%;
  pointer-events: none; /* Allows clicks to pass through */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border-radius: 15px;
  
}

.passport-box .outline {
  margin-top: auto;
  width: auto;
  height: 100%;
  min-width: 125px;
  min-height: 176px;
  max-width: 125mm;
  aspect-ratio: 125 / 176; /* Maintains original ratio */
  max-height: 176mm;
  border: 2px dashed #4caf50;
  border-radius: 8px;
  background: transparent; /* No inner blur or fill */
  box-shadow:  0 0 20px 2px rgba(76, 175, 80, 0.5), /* Green glow */
              0 0 0 9999px rgba(0, 0, 0, 0.9); /* Black 'halo' outside */
}

.id-box .outline {
  margin-top: auto;
  width: 100%; /* Larger, relative to container */
  max-width: 360px; /* Cap for larger screens */
  aspect-ratio: 280 / 180; /* Maintains original ratio */
  max-height: 230px; /* Cap height, preserving ratio */
  border: 2px dashed #4caf50;
  border-radius: 8px;
  background: transparent; /* No inner blur or fill */
  box-shadow:  0 0 15px 5px rgba(76, 175, 80, 0.5), /* Green glow */
              0 0 0 9999px rgba(0, 0, 0, 0.9); /* Black 'halo' outside */
}


.face-box .outline {
  margin-top: auto;
  width: auto; /* Slightly smaller than ID/passport for face */
  max-width: 492px; /* Reasonable size for face */
  aspect-ratio: 3 / 4; /* Oval shape, taller than wide */
  max-height: 656px; /* Matches aspect ratio */
  height: 100%;
  border: 2px dashed #4caf50; /* Orange for distinction */
  border-radius: 50%; /* Circular/oval shape */
  background: transparent;
  box-shadow:  0 0 15px 5px rgba(76, 175, 80, 0.5), /* Green glow */
      0 0 0 9999px rgba(0, 0, 0, 0.9); /* Black halo */
  
}

.capture-instruction {
  margin-top: 1rem;
  color: var(--label);
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  padding-bottom: 10px;
  border-radius: 6px;
  z-index: 10;
}


#vid-can {
  border-radius: 15px;
  z-index: 2;
}

.vid-passport {
  min-height: 600px;
}

#vid {
  min-height: 400px;
}

#vid, #vid-can {
  max-width: 1024px;
  max-height: 70vh;
  margin: auto auto;
  display: flex;
  opacity: 1;
}

#frame, #thumb {
  max-width: 100%;
  opacity: 1;
  border-radius: 15px;
}
#thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#videoEle, #frame, #thumb {
  max-width: 100%;
  max-height: 100%;
  border-radius: 15px;
  opacity: 1;
  object-fit: cover;
  flex-grow: 1;  
}

#video_overlays-old {
  position: absolute;
  overflow-y: auto;
  transform: 0.3s;
  z-index: 2;
  margin-top: 10px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}


/* Progress bar container */
.progress-bar {
  position: relative;
  background-color: transparent;
  width: 100%;
  height: 33px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px var(--border-color-disabled); /* Inward border effect */
}

/* Green active progress */
.progress {
  position: absolute;
  background-color: var(--green-dark); /* Green with 70% opacity */
  height: 100%;
  z-index: 1;
  color: var(--green-hue);
  border-radius: 15px;
  /*border: 1px solid rgba(0, 255, 135, 0.7);*/
  border: 1px solid var(--green-hue);
  box-sizing: border-box; 
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5px;
  /*min-width: 50px;*/
  overflow: hidden; /* Hide overflow for gradient animation */
  animation: auroraGlowBar 10s ease infinite;

}

.progress-glow {
  animation: auroraGlowBar 10s ease infinite;
}

/* Pseudo-element for aurora gradient overlay */
.progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  
  /* background: linear-gradient(90deg, rgba(0, 255, 135, 0.2)); */
    
  /*background: linear-gradient(90deg, rgba(0, 255, 135, 0.1), rgba(0, 223, 255, 0.1), rgba(255, 0, 122, 0.1), rgba(0, 94, 255, 0.1), rgba(0, 255, 135, 0.1));
  */
  
  background-size: 300% 400%;
  animation: auroraGlowBar 40s ease infinite;
  z-index: 2; /* Gradient on top of green background */
  pointer-events: none; /* Prevent interaction */
}

/* Keyframes for aurora glow effect */
@keyframes auroraGlowBar {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Text inside the progress bar */
.progress-text {
  color: white;
  font-size: 12px;
  z-index: 3;
}

@keyframes fadeOut {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes auroraGlow {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 25% 75%;
  }
  50% {
    background-position: 50% 50%;
  }
  75% {
    background-position: 75% 25%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.txt-glow {
  background: linear-gradient(100deg, var(--green-hue), rgba(0, 255, 135, 0.8), rgba(0, 223, 255, 0.8), var(--green-hue), rgba(0, 255, 135, 0.8));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: auroraGlow 100s ease infinite;
}

.text-glow {
  background: linear-gradient(90deg, rgba(0, 255, 135, 0.8), rgba(0, 223, 255, 0.8), rgba(255, 0, 122, 0.8), rgba(0, 94, 255, 0.8), rgba(0, 255, 135, 0.8));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: auroraGlow 100s ease infinite;
}

.mirror {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

/* Add new class to handle mirroring with separate transform */
.photo-mirror {
  scale: -1 1 !important; /* Using scale instead of scaleX to keep it separate from other transforms */
}

span {
  
    color: white;
}

  textarea:focus, a:focus{
    outline: none;
  }

  .prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}


#assets, #transactions, #markets {
  display: flex;
}

.table-cont {
  margin-top: 25px;
  overflow-x: scroll;
  font-size: 14px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
}


table {
  border-collapse: collapse;
}



td, th {

  font-size: 14PX;
  
  color: var(--label);
  padding-left: 10px;
}

th {
  text-align: left;
  padding-left: 10px;
  padding-bottom: 5px;
  padding-top: 5px;
}

td {
  text-align: start;
  padding-bottom: 5px;
  padding-top: 5px;
}





.td-card {
  border-radius: 15px;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 10px;
    
}


#sticky-col {
  position: sticky;
  background-color: #6E6E6E;
  height: 299px;
}



.w-150px {
  width: 150px;
}


.pad-left-0px {
  padding-left: 0px;
}

ul {
  padding-left: 20px;
}

#markets {
  /*scroll-snap-align: start;*/
}

footer {
  /*scroll-snap-align: start;*/
}


.chart-row {
  display: grid;
  grid-template-columns: minmax(675px, 1fr) minmax(350px, 400px) minmax(350px, 400px); /* Flexible chart and expandable Buy/Sell */
  grid-template-rows: minmax(350px, 1fr) 450px;
  grid-template-areas: 
  "chart orderbook buy-sell"
  "orders orders trades";
  width: 100%;
  min-height: 1100px;
  gap: 14px;
  padding-top: 14px;
  padding-left: 10px;
  padding-right: 10px;
}

.chart-row-ltr {
  display: grid;
  grid-template-columns: minmax(350px, 400px) minmax(350px, 400px) minmax(675px, 1fr); /* Flexible chart and expandable Buy/Sell */
  grid-template-rows: minmax(350px, 1fr) 450px;
  grid-template-areas: 
  "buy-sell orderbook chart"
  "trades orders orders";
  width: 100%;
  min-height: 1100px;
  gap: 14px;
  padding-top: 14px;
  padding-left: 10px;
  padding-right: 10px;
}

.trades {
  grid-area: trades;
}

.chart {
  grid-area: chart;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#chart-bar {
  overflow-x: auto;
  max-width: calc(100vw - 20px);
  display: flex;
  gap: 5px;
  align-items: center;
}
.v-hidden {
  visibility: hidden
}

.buy-sell {
  grid-area: buy-sell;
  font-size: 14px;
}
.orderbook {
  grid-area: orderbook;

}

.orderbook-div {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 15px 15px 15px 15px;
  gap: 10px;
  
}

.orders-div {
  display: flex;
  height: 100%;
  flex-direction: column;
  row-gap: 10px;
}


.flex-header {
  font-size: 14px;
  display: flex;
  gap: 10px;
}

.orders-cont {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}

.orders-container {
  border: var(--border);
  border-radius: 15px;
  height: 100%;
  width: 100%;
  overflow: scroll;
  overflow-x: auto; /* Enable horizontal scrolling */
  border-radius: 15px;
  box-sizing: border-box;
  padding-bottom: 10px;
}

.orders-table {
  display: grid;
  grid-template-rows: 36px auto; /* Set header row height explicitly */
  grid-auto-rows: auto; /* Row height adjusts to content */
  gap: 10px; /* Spacing between cells */
  grid-template-columns: repeat(17, auto); 
  border-radius: 15px;
}

.orders-table > .order-bar {
  display: contents;
}

.orders-table > .row {
  display: contents;
}


.order-bar > .col:last-child {
  padding-right: 10px;
  min-width: 70px;
}

.order-bar {
  white-space: nowrap;
  z-index: 1;
}

.order-bar > .col:first-child {
  margin-left: 10px;
}

.order-bar > .col {
  z-index: 1;
  position: sticky;
  top: 0; /* Stick to the top */
  min-height: 36px;
  display: flex;
  align-items: center;
  background-color: hsla(0, 0%, 0%, 0.8); 
  padding-left: 10px;
}

.orders-table > .row > .col:last-child {
  padding-right: 10px;
  margin-right: 10px;
}

.orders-table > .row > .col:first-child {
  padding-left: 10px;
}



.trades-div {
  display: flex;
  height: 100%;
  flex-direction: column;
  row-gap: 10px;
}


.trades-container {
  border: var(--border);
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.trades-bar {
  height: 36px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-size: 12px;
  overflow-y: scroll;
}

.order-bar {
  height: 36px;
  width: 100%;
  font-size: 12px;
  background-color: #00FC65;
}

.trades-cont {
  height: 100%;
  width: 100%;
  position: absolute;
}

.trades-list {
  display: flex;
  row-gap: 2px;
  flex-direction: column;
  overflow: scroll;
  max-height: 100%;
}

.trades-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
  min-height: 24px;
  font-size: 12px;
  position: relative;
  z-index: -1;
  overflow: hidden;
}

.trades-bar > .col {
  display: flex;
  align-items: center;
}

.trades-bar > .price {
  padding-left: 10px;
  justify-content: start;
}

.trades-bar > .time {
  padding-right: 10px;
  justify-content: end;
}


.trades-bar > .amount {
  padding-right: 10px;
  justify-content: end;
}

.trades-row > .col {
  display: flex;
  align-items: center;
}


.trades-row > .price {
  padding-left: 10px;
  justify-content: start;
}

.trades-row > .amount {
  padding-right: 10px;
  justify-content: end;
}

.trades-row > .time {
  padding-right: 10px;
  justify-content: end;
}

.orderbook-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
}

.orderbook-container {
  border: var(--border);
  border-radius: 15px;
  height: calc(100% - 48px);
  overflow: hidden; 
}

.orderbook-list {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  min-height: calc(100% - 36px);
}

.orderbook-bar {
  height: 36px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);  
  font-size: 12px;
}

.orderbook-items {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  scroll-snap-type: y mandatory;
}

.orderbook-items::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.asks {
  width: 100%;
  overflow-y: scroll;
  display: flex;
  flex-direction: column-reverse;
  row-gap: 2px;
  scroll-snap-align: end;
  height: 100%;
  min-height: calc(100% - 36px);
}

.mid {
 min-height: 36px;
 scroll-snap-align: center;
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 10px;
}

.bids {
  width: 100%;
  overflow-y: scroll;
  scroll-snap-align: start;
  height: 100%;
  row-gap: 2px;
  scroll-snap-type: y mandatory;
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 36px);
}

.orderbook-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
  min-height: 24px;
  font-size: 12px;
  position: relative;
  z-index: -1;
  overflow: hidden;
}


.redbar {
  position: absolute;
  right: 0;
  /*background-color: #03321b;*/
  background-color: var(--red-back);
  z-index: -1;
  height: 100%;
}


.greenbar {
  position: absolute;
  right: 0;
  /*background-color: #03321b;*/
  background-color: var(--green-card);
  z-index: -1;
  height: 100%;
}

.orderbook-bar > .col {
  display: flex;
  align-items: center;
}

.orderbook-bar > .price {
  padding-left: 10px;
  justify-content: start;
}

.orderbook-bar > .sum {
  padding-right: 10px;
  justify-content: end;
}


.orderbook-bar > .amount {
  padding-right: 10px;
  justify-content: end;
}

.orderbook-row > .col {
  display: flex;
  align-items: center;
}


.orderbook-row > .price {
  padding-left: 10px;
  justify-content: start;
}

.orderbook-row > .amount {
  padding-right: 10px;
  justify-content: end;
}

.orderbook-row > .sum {
  padding-right: 10px;
  justify-content: end;
}

.orders {
  grid-area: orders;
  height: 100%;
}

.orders-swipe {
  padding: 10px;
}

.orders-swipe > .orders-div > .orders-cont > .orders-container {
  min-height: 20vh;
  max-height: 40vh;
  display: flex;
  flex-direction: column;
}


#chart-section, .trades, .orders {
  
  border-radius: 15px;
}

.exchange-swipe {
  margin-top: 10px;
  min-height: min(350px, 50vh);
  scroll-snap-type: x proximity; 
  padding: 0 10px; 
  display: none;
}

.orderbook-swipe, .trades-swipe {
  width: 350px;
  min-width: 310px;
  max-width: 100%;
  scroll-snap-align: center;

}
.orderbook-swipe {
  min-width: 310px;
}

.buy-sell-swipe {
  width: 350px;
  min-width: 350px;
  max-width: 100%;
  flex-grow: 1;
  border-radius: 15px;
  scroll-snap-align: center;
  font-size: 14px;
}




#chart-section {
  width: 100%;
  border: var(--border);
  height: calc(100% - 48px);
  position: relative;
  padding: 5px;
}

#chart-container {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}

#exchange-port-bar {
  display: none;
}

@media (min-width: 1024px) {
    .port-section {
      display: none;
    }
    #exchange-port-bar {
      display: flex;
    }
}

@media (max-width: 1670px) {
  .chart-row {
    grid-template-columns: minmax(640px, 1fr) minmax(320px, 345px) minmax(345px, 400px); /* Flexible chart and expandable Buy/Sell */
    grid-template-rows: minmax(350px, 1fr) 450px;
    grid-template-areas: 
    "chart orderbook buy-sell"
    "orders orders trades";
  }
  .chart-row-ltr {
    grid-template-columns: minmax(345px, 400px) minmax(320px, 345px) minmax(640px, 1fr); /* Flexible chart and expandable Buy/Sell */
    grid-template-rows: minmax(350px, 1fr) 450px;
    grid-template-areas: 
    "buy-sell orderbook chart"
    "trades orders orders";
  }
}

@media (max-width: 1345px) {
  .chart-row, .chart-row-ltr {
    grid-template-columns: 1fr; /* Flexible chart and expandable Buy/Sell */
    grid-template-rows: auto;
    grid-template-areas:
    "chart";
    height: max(330px, 45vh);
    min-height: auto;
  }
  .exchange-swipe {
    display: flex;
  }
  .orderbook {
    display: none;
  }
  .buy-sell {
    display: none;
  }
  .trades {
    display: none;
  }
  .orders {
    display: none;
  }
}

@media (max-width: 1110px) {
  .chart-row, .chart-row-ltr {
    grid-template-columns: 1fr; /* Flexible chart and expandable Buy/Sell */
    grid-template-areas:
    "chart";
  }
  .buy-sell {
    display: none;
  }
}



.scroller  {
  position: relative;
  
}

#appbar {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 3;
  height: 56px;
  background-color: rgba(0, 0, 0, 0.9);
}

#appbar-flex {
  padding: 10px;
  border-radius: 30px 30px 30px 30px;
}

.logo-bar {
  padding-top: 2px;
  width: 84px;
  height: 38px;
  padding-left: 5px;
  padding-right: 5px 
}

.scroller h2 {
  position: sticky;
  top: 0;
}

a:link { text-decoration: none; }

a:hover {
  cursor: pointer;
  color: white;
}

select {
  /* for Firefox */
  -moz-appearance: none;
  /* for Chrome */
  -webkit-appearance: none;
}

.pad-left-4px {
  padding-left: 4px; 
}

.pad-left-10px {
  padding-left: 10px; 
}

.pad-left-14px {
  padding-left: 14px; 
}

.pad-left-20px {
  padding-left: 20px; 
}

.pad-left-25px {
  padding-left: 25px; 
}

.pad-left-30px {
  padding-left: 30px; 
}
.pad-left-35px {
  padding-left: 35px; 
}
.pad-right-4px {
  padding-right: 4px; 
}

.pad-right-10px {
  padding-right: 10px; 
}


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

.hide-scroll {
    scroll-behavior: smooth; /* Smooth scrolling */
    /* Hide scrollbar for webkit browsers */
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on touch devices */
    scrollbar-width: none; /* Firefox */
}
.f-1 {
  flex: 1;
}

.hide-scroll::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
  width: 0;
  height: 0;
}

.f-1-1-auto {
  flex: 1 1 auto;
}

.f-0-1-auto {
  flex: 0 1 auto;
}

.pad-right-14px {
  padding-right: 14px; 
}

.pad-right-20px {
  padding-right: 20px; 
}

.card-label {
  color: var(--label);
  padding-left: 14px;
  padding-right: 14px;
}

.card-top-pad {
  padding-top: 14px;
  line-height: 14px;
}

.line-h-14px {
  line-height: 14px;
}

.card-bot-pad {
  padding-bottom: 14px;
  margin-top: 10px;
}

[contenteditable] {
  outline: 0px solid transparent;
}

.ph[placeholder]:empty:before {
  content: attr(placeholder);
  /*color: #555; */
  color: var(--ph-color); 

}

.ph[placeholder]:empty:focus:before {
  content: "";
}

select,button:hover{
  cursor: pointer;
}

button:focus{
  -webkit-box-shadow: 0px 2px 8px 2px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 2px 8px 2px rgba(0,0,0,0.4);
  border: var(--border-hover);
  box-shadow: 0px 2px 8px 2px rgba(0,0,0,0.4);
}


#acts-parent {
  margin: auto auto;
  max-width: 2000px;
  height: 100%;
  overflow-anchor: none;
}

#acts {
  display: flex;
  overflow: hidden;
  flex-wrap: wrap-reverse;
  justify-content: center;
  /*min-height: 100svh;*/
  /* overflow */
  gap: 10px;
  flex-direction: row-reverse;
  padding: 10px;
  
}

#acts > div {
  z-index: 3;
}

#loadmore {
  position: absolute;
  background-color: red;
  width: 100%;
  height: 10%;
  z-index: 2;
  margin: auto auto;

}


#apps {
  justify-content: space-around;
  margin-top: 2em;
  margin-bottom: 2em;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  gap: 32px;
}

#airdrop {
  /*border-top: var(--border);*/
  /*margin-top: 147px;*/
  
}


.w-48px {
  width: 48px;
}
.btn-48px {
  padding-left: 10px;
  padding-right: 10px;
  height: 48px;
  font-size: 14px;
  border-radius: 60px;
  transition: 0.3s;
  outline: none;
  display: inline-flex;
  align-items: center;
}

.p-l-auto {
  padding-left: auto;
}
.p-r-auto {
  padding-right: auto;
}

.p-l-0px {
  padding-left: 0px;
}
.p-r-0px {
  padding-right: 0px;
}

.svg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: transform .15s ease-out;
}

.app-cont:hover > .svg-icon {
  transform: scale(1.1);
}

.app-cont:active > .svg-icon {
  transform: scale(1.1);
}

.app-cont:hover > .svg-txt {
  color: white;
}

.svg-txt {
  pointer-events: auto;
}


.app-cont {
  width: 97px;
  height: 85px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.f-s-12px {
  font-size: 12px;
}

.f-s-13px {
  font-size: 13px;
}

.f-s-14px {
  font-size: 14px;
}

.f-s-15px {
  font-size: 15px;
}

.f-s-16px {
  font-size: 16px;
}
.f-s-17px {
  font-size: 17px;
}
.f-s-18px {
  font-size: 18px;
}

.f-s-20px {
  font-size: 20px;
}

.color-label {
  color: var(--label);
}

.c-pointer {
  cursor: pointer;
}

#chat-icon {
  cursor: pointer;
}

.stroke-green-hue {
  stroke: var(--green-hue);
}

.fill-green-card {
  fill: var(--green-card);
}

.stroke-red {
  stroke: #ff0000;
}

.fill-red-back {
  fill: var(--red-back);
}

.stroke-border-color:hover + #chat-icon {
  stroke: var(--border-hover-color);
}

.stroke-border-color {
  stroke: var(--border-color);
  cursor: pointer;
}

.stroke-border-color:hover {
  stroke: var(--border-hover-color);
  cursor: pointer;
}

.stroke-border-color:focus {
  stroke: var(--border-hover-color);
}


.d-inline-block {
  display: inline-block;
}

.d-inline-flex {
  display: inline-flex;
}

.f-w-500 {
  font-weight: 500;
}

.f-w-light {
  font-weight: light;
}

.opacity-07 {
  opacity: 0.7;
}

.f-w-lighter {
  font-weight: lighter;
}

.f-w-thin {
  font-weight: thin;
}

#wallet-box {
  height: 70px;
  width: 100%;
}

.shadow {  
  border-radius: 15px;
}



@media (width  <= 760px) {
  #token-background {
    transform: scale(4);
  }
  .picker {
    max-width: 341px;
  }
  .hide-le-760px {
    display: none;
  }
}

@media (width  >= 760px) {
  .picker {
    max-width: 667px;
  }
}




/* The Modal (background) */
.modal {
  display: flex; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.8);
  padding: 20px;
  margin: auto auto;
}


/* Modal Content */
.modal-content {
  background-color: var(--background);
  margin: auto auto;
  padding: 14px;
  border: var(--border);
  
  text-align: left;
}

#btn-card-loader {
  max-width: 100px;
  margin: auto;
}

.loader-line {
  height: 3px;
  margin-top: 7px;
  margin-bottom: 7px;
  position: relative;
  overflow: hidden;
  background-color: var(--border-color);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 30px;
  z-index: 1;
}

.loader-line:before {
  content: "";
  position: absolute;
  left: -50%;
  height: 3px;
  width: 40%;
  background-color: var(--border-hover-color);
  -webkit-animation: lineAnim 1s linear infinite;
  -moz-animation: lineAnim 1s linear infinite;
  animation: lineAnim 1s linear infinite;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 30px;
}


/* Chrome, Safari, Edge, Opera */
btn::-webkit-outer-spin-button,
btn::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
btn[type=number] {
  -moz-appearance: textfield;
}

@keyframes lineAnim {
  0% {
      left: -40%;
  }
  50% {
      left: 20%;
      width: 80%;
  }
  100% {
      left: 100%;
      width: 100%;
  }
}


.shake {
  animation: shake 1.2s cubic-bezier(.36, .07, .19, .97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {

  10%,
  90% {
      transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
      transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
      transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
      transform: translate3d(4px, 0, 0);
  }
}

.w-c-mbs {
  will-change: mix-blend-mode;
}

#circles-content {
  /* MAKE POSTIION FIXED ON DESK, ABS on mobile*/
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.circles {
    width: max(120vh, 80vw, 1300px);
    height: max(120vh, 80vw, 1300px);
    top: 50%;
    left: 50%;
    opacity: 0.25;
    position: absolute;
    transform: translate3D(-50%, -50%, 0);
}

.circles-sign {
  margin: auto;
  width: 200px;
  height: 200px;
  position: relative;
  justify-content: center;
  align-items: center;
  opacity: 0.3;
}

.circles-sign > .circle {
  background: none;

}
.questionnaire {
  overflow-y: scroll;
  max-height: 400px;
  margin-right: 10px;
  margin-left: 3px;
  padding: 10px;
  padding-right: 5px;
  margin-top: 10px;
  margin-left: 10px;
  border-radius: 15px;
  border: var(--border)
}

/* Media Query for Mobile */
@media screen and (max-width: 768px) {
  :root {
    --spin-time: 20s; /* Change spin time for smaller screens */
  }

  #circles-content {
    position: absolute; /* Change to absolute on mobile */
  }

  .circles {
    top: 10%; /* Set top to 10% on mobile */  
  }


}



/* Media Query for Mobile */
@media screen and (max-height: 600px) {
  #circles-content {
    display: none; 
  }
}
  /*background: linear-gradient(130deg,#212121, #212121, #212121, #03321b, #2a0000, #212121);*/

.circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: var(--circle-stroke) solid var(--green-hue); /* Use CSS variable or replace with a specific value */
  border-radius: 115% 140% 145% 110% / 125% 140% 110% 125%;
  mix-blend-mode: screen;
  animation-timing-function: linear;
}

.circle:nth-child(1) {
  background: none;
  border-color: red;
  transform-origin: 50% calc(50% - var(--displacement)); /* Use CSS variable or replace with a specific value */
  animation: spin1 var(--spin-time) linear infinite; /* Use CSS variable or replace with a specific value */
}

.circle:nth-child(2) {
  border-color: var(--green-hue);
  background: var(--green-dark);
  transform-origin: 50% calc(50% + var(--displacement)); /* Use CSS variable or replace with a specific value */
  animation: spin2 var(--spin-time) linear infinite; /* Use CSS variable or replace with a specific value */
  transform: rotate(20deg);
}

.circle:nth-child(3) {
  border-color: #4285F4;
  transform-origin: calc(50% + var(--displacement)) 50%; /* Use CSS variable or replace with a specific value */
  animation: spin3 var(--spin-time) linear infinite; /* Use CSS variable or replace with a specific value */
  transform: rotate(60deg);
}

.circle:nth-child(4) {
  background: none;
  border-color: #0F9D58;
  transform-origin: 50% calc(50% - var(--displacement)); /* Use CSS variable or replace with a specific value */
  animation: spin4 var(--spin-time) linear infinite; /* Use CSS variable or replace with a specific value */
  transform: rotate(80deg);
}



@keyframes spin1 {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin2 {
    0% {
        transform: rotate(72deg);
    }
    100% {
        transform: rotate(-288deg);
    }
}

@keyframes spin3 {
    0% {
        transform: rotate(-144deg);
    }
    100% {
        transform: rotate(216deg);
    }
}

@keyframes spin4 {
    0% {
        transform: rotate(216deg);
    }
    100% {
        transform: rotate(-144deg);
    }
}



/* Parent container styling */
.parent-container {
  display: flex;
  margin-top: 14px;
  justify-content: center; /* Centers the chat container horizontally */
  align-items: end; /* Centers the chat container vertically */
  overflow: hidden; /* Prevents scrollbars on the parent container */
  max-height: (100svh - 56px); /* Full viewport height */
}

/* Chat container styling */
.chat-container {
  padding-left: 10px;
  padding-right: 10px;
  height: min(1368px, 95svh - 56px);
  width: min(1368px, 100vw);
  display: flex;
  overflow-y: hidden; /* Prevent vertical scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  align-items: center;
  resize: both;
  min-width: 50vw;
  min-height: 40svh;
  max-height: calc(100svh - 56px);
  position: relative; /* Necessary for the overlay */
  
}

/* Chat box styling */
.chat-box {  
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: center;
  height: 100%;
  color: white;
  border-radius: 15px;
  resize: both;
  flex-grow: 1;
}

/* Chat box styling */
.chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
  overflow: auto;
  scroll-snap-align: center;
  min-height: 100%; /* Full viewport height */
  color: white;
  border-radius: 15px;  
  max-height: 100%;
  min-width: min(275px, 94vw);
}

.mid-chat-div {
  border: var(--border);
  border-color: var(--border-color-disabled);
  border-radius: 15px;
  flex-grow: 1;
  position: relative;
}

.mid-chat-div p {
  text-align: center; /* Center align the text */
  word-wrap: break-all; /* Ensure long words break to fit within the container */
  max-width: 90%;
  font-size: 16px;
}

#chat-input {
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;

}

@media (width  <= 1024px) {
  .chat-box {
    /* ENABLE THIS ONLY ON SMALL SCREEN*/
    min-width: min(min(100vw, 100%), 100vw);
  }
  .chat-sidebar {
    min-width: min(350px, 94vw);
  }
  .chat-container {
    resize: none;
  }
  
}



.no-autofill-style {
  &:-webkit-autofill,
  &:-webkit-autofill:hover,
  &:-webkit-autofill:focus {
      -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
      -webkit-text-fill-color: white !important; /* Match .white-text */
      background-color: inherit !important;
      border: inherit !important;
      transition: background-color 5000s ease-in-out 0s;
  }
}

/* RANG SLIDE */ 


.slider {
  display: none;
  -webkit-appearance: none;
  width: calc(100% - 20px);
  height: 20px;
  z-index: 1;
  background: transparent;
  outline: none;
  border-radius: 15px;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.div-slider {
  height: 20px;
}

.touch-slider {
  height: 10px;
  z-index: 1;
  position: absolute;
  width: calc(100% - 20px);
  padding-left: 10px;
  padding-right: 10px;
  height: 20px;
  background-color: transparent;
}

.slider-active-line {
  height: 1px;
  display: flex;
  align-items: center; 
}

.back-green-hue {
  background-color: var(--green-hue);
}


.slider-disabled-line {
  width: 100%;
  background-color: var(--border-color-disabled);
  z-index: -1;
  height: 1px;
  display: flex;
  align-items: center; 
}


.full-slider-width {
  width: calc(100% - 20px);
}

.off-dot {
  cursor: pointer;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #000;
  border: var(--border);
}

.on-dot-large {
  cursor: pointer;
  z-index: 1;
  width: 10px;
  height: 10px;
  margin: 10px;
  border-radius: 50%;
  background-color: #000;
  /*border: var(--border-green-hue);*/
  border-width: 2px;
}

.on-dot {
  width: 7px;
  height: 7px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
  background-color: #000;
  /*border: var(--border-green-hue);*/
}




/* Dashboard layout */
.dashboard-container {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Navbar styles - Fixed position instead of sticky */
.sticky-navbar {
  position: fixed; /* Change from sticky to fixed for more reliable behavior */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  color: white;
  height: 75px;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar-container {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 100%;
  position: relative; /* Add this for absolute positioning of the title */
}

.navbar-title {
  position: absolute; /* Position absolutely to center it */
  left: 50%;
  transform: translateX(-50%); /* Center the element horizontally */
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  width: 100%;
  text-align: center;
}

.hamburger-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  z-index: 1; /* Ensure button stays above other elements */
}

/* Sidebar overlay for dimming and outside clicks */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Dimming effect */
  z-index: 150;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.sidebar-overlay.visible {
  visibility: visible;
  opacity: 1;
}

.sidebar-overlay.hidden {
  visibility: hidden;
  opacity: 0;
}

/* Sidebar styles */
.sidebar-panel {
  position: fixed;
  top: 0; /* Start from the very top */
  left: 0;
  height: 100%;
  min-width: 350px;
  z-index: 200;
  transition: transform 0.3s ease;
}

.sidebar-panel.visible {
  transform: translateX(0);
}

.sidebar-panel.hidden {
  transform: translateX(-100%);
}

.sidebar-content {
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  
}
.sidebar-menu {
  background-color: black; /* Solid color instead of transparent */
  height: 100%;
  padding: 10px;
  border-radius: 15px;
  border: var(--border);
}

/* Main content */
.main-content {
  padding: 20px;
  width: 100%;
  margin-top: 60px; /* Add margin-top equal to navbar height */
  flex: 1; /* Let it take remaining space */
  overflow-y: auto; /* Allow scrolling in content area */
}

.kyc-cont {
  padding: 20px;
  border-radius: 5px;
  min-height: 200px;
}