:root {
  --primary-color: #000;
  --primary-color-reverse: #000;
  --site-background: #fff;
  --secondary-color: #7e56e3;
  --secondary-color_2: #6b49bf;
  --bg-primary: #101010;
  --grey-color: rgb(154, 150, 150);
  --grey-color-2: #636161;
  --color-success: #0ac989;
  --color-danger: #f24242;
  --bg-reverse: #fff;

  --bg_1: #fff;
  --bg-grey_1: #f3f3f3;
  --bg-grey_2: #f5f5f5;
  --bg-grey_3: #ededed;
  --bg_2: #181818;
  --bg_3: #232323;
  --bg_4: #252525;
  --bg_5: #353535;
  --bg_6: #404040;

  --card-bg: #fff;
  --card-bg-grey: #f4f4f4;
  --card_in_grey-card-bg: #fff;
  --sidenav-bg: #edecec;

  --border: #dee2e6;
  --borderFaint: #dee2e6;

  --radius-1: 4px;
  --radius-2: 8px;
  --radius-3: 12px;
  --radius-4: 16px;
  --radius-5: 20px;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
}

/* ========================== */
body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--site-background);
}


/* backgrounds */
.bg_1 {background: var(--bg_1)}
.bg-grey_1 {background: var(--bg-grey_1)}
.bg-grey_2 {background: var(--bg-grey_2)}
.bg-grey_3 {background: var(--bg-grey_3)}
.bg_2 {background: var(--bg_2)}
.bg_3 {background: var(--bg_3)}
.bg_4 {background: var(--bg_4)}
.bg_5 {background: var(--bg_5)}
.bg_6 {background: var(--bg_6)}
.bg-reverse {background: var(--bg-reverse)}
.bg-sec { background: var(--secondary-color); }
.modal-body{ background: #fff }
.blur-bg {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.blur-bg.mini {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.white-bg-only {
  background: #fff;
}

.auth-container {
  background: linear-gradient(to top right, #101010 60%, var(--secondary-color_2));
  background-repeat: no-repeat;
  height: 100%;
  overflow: scroll;
}
.gradient-container {
  background: linear-gradient(to top right, #f4f4f4 60%, var(--secondary-color_2));
  background-repeat: no-repeat;
  height: 100%;
  overflow: scroll;
}


/* Cards */
.auth-card {
  background: var(--bg_2);
  border-radius: var(--radius-2);
  padding: 30px;
  width: 80%;
  margin: 0px auto;
}
@media (max-width: 576px) {
  .auth-card { width: 90%; }
}
@media (min-width: 577px) and (max-width: 980px) {
  .auth-card { width: 60%; }
}

._card {
  padding: 12px;
  background: var(--card-bg);
  border-radius: var(--radius-2);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  border: 1px solid #f4f4f4;
}
._card-grey {
  background: var(--card-bg-grey);
}
._card.in-grey-card {
  border: none;
  box-shadow: none;
}

/* ------------------------------ */
/*  Text && colors && fonts */
.primary-color { color: var(--primary-color) !important; }
.primary-color-reverse { color: var(--primary-color-reverse) !important; }
.secondary-color { color: var(--secondary-color_2) !important; }

.grey-color { color: var(--grey-color) !important }
.grey-color-2 { color: var(--grey-color-2) !important }
.color-success { color: var(--color-success) !important; }
.color-danger { color: var(--color-danger) !important; }

p, h1, h2, h3, h4, h5, span, label, small, i {color: var(--primary-color);}
p {font-size: var(--text-sm)}

.icon-fill{ fill: var(--primary-color) }
.icon-fill-white-only{ fill: white }
.icon-fill-grey{ fill: var(--grey-color) }
.icon-fill-grey-2{ fill: var(--grey-color-2) }
.icon-fill-secondary{ fill: var(--secondary-color) }
.icon-fill-success{ fill: var(--color-success) }

a {
    text-decoration: none !important;
    color: var(--primary-color) !important;
    font-size: var(--text-sm);
}
.link-hover:hover {
    background: var(--bg-2);
}

.text-xs { font-size: var(--text-xs) !important }
.text-sm { font-size: var(--text-sm) !important }
.text-md { font-size: var(--text-md) !important }
.text-lg { font-size: var(--text-lg) !important }
.text-xl { font-size: var(--text-xl) !important }

@media only screen and (max-width: 576px) {
  .text-xs-mobile { font-size: var(--text-xs); }
}

.open-sans {font-family: 'Open Sans', sans-serif}
.anuphan {font-family: 'Anuphan', sans-serif}
.gabarito {font-family: 'Gabarito', sans-serif}
.rubik {font-family: 'Rubik', sans-serif}
.ubuntu {font-family: 'Ubuntu', sans-serif}
.natasans {font-family: 'Nata Sans', sans-serif}
.open-sans.wt-200, .anuphan.wt-200, .gabarito.wt-200, .rubik.wt-200, .natasans.wt-200{ font-weight: 200; }
.open-sans.wt-400, .anuphan.wt-400, .gabarito.wt-400, .rubik.wt-400, .natasans.wt-400{ font-weight: 400; }
.open-sans.wt-500, .anuphan.wt-500, .gabarito.wt-500, .rubik.wt-500, .natasans.wt-500{ font-weight: 500; }
.open-sans.wt-600, .anuphan.wt-600, .gabarito.wt-600, .rubik.wt-600, .natasans.wt-600{ font-weight: 600; }
.open-sans.wt-700, .anuphan.wt-700, .gabarito.wt-700, .rubik.wt-700{ font-weight: 700; }

.uppercase {text-transform: uppercase !important}
.capitalize {text-transform: capitalize !important}
.underline{ text-decoration: underline !important; }


/* inputs */
.form-wrapper {
  position: relative;
  margin-top: 25px;
}

.form-wrapper input {
  width: 100%;
  border: 1px solid #eae9e9;
  border-radius: 6px;
  color: var(--primary-color);
  background: transparent;
  caret-color: var(--primary-color);
  height: 46px;
  padding: 0px 14px;
}

.form-wrapper select{
  width: 100%;
  height: 46px;
  border: 1px solid #282828;
  border-radius: 6px;
  color: var(--primary-color);
  background: transparent;
  padding: 0px 14px;
  font-size: 14px;
}

.form-wrapper label {
  font-size: var(--text-sm);
  color: var(--grey-color-2);
  margin-bottom: 6px;
}
.form-wrapper input::placeholder {
  font-size: 13px;
  color: var(--grey-color);
  font-family: 'open sans';
}
.form-wrapper select option:disabled {
  color: red !important;
}

.form-wrapper .placeholder-larger::placeholder {
  font-size: 16px;
}

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

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input:focus,
select:focus {
  box-shadow: none !important;
  outline: none !important;
}

.form-wrapper input:focus {
  border: 1px solid var(--secondary-color_2);
}

/* input icons and text */
.form-wrapper .has-icon {
  padding-right: 20% !important;
  position: relative;
}

.form-wrapper .has-dual-icon {
  padding-right: 30% !important;
  padding-left: 30% !important;
  position: relative;
}

.form-wrapper .input-icon-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  height: 46px;
  width: auto;
  padding: 0px 12px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 0px 4px 4px 0px;
  cursor: pointer;
}
.input-icon-wrapper-left {
  left: 10px;
  right: auto !important;
}
.input-icon {
  color: var(--primary-color);
  position: relative;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-box-shadow: none;
transition: background-color 5000s ease-in-out 0s;
background-color: none !important;
-webkit-text-fill-color: #fff;
}

input.input-border-2 { border: 1px solid #363636 !important; }
select.input-border-2 { border: 1px solid #363636 !important; }

.code-input-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.code-input-wrapper input {
  width: 60px;
  height: 60px;
  font-size: 32px;
  text-align: center;
}
@media(max-width: 576px) {
  .code-input-wrapper { gap: 10px; }
  .code-input-wrapper input {
    width: 45px; height: 45px;
    font-size: 22px;
  }
}


/* Buttons */
button {
  background: var(--secondary-color);
  border: none;
  border-radius: var(--radius-2);
  text-align: center;
  color: #fff;
  width: 100%;
  font-family: 'anuphan';
  font-size: 14px;
  height: 46px;
}
button.md{ height: 50px; } 
button.lg{ height: 56px; } 

button.gradient {
  background: linear-gradient(169deg,#5c6cf6,#a371f4 53%),linear-gradient(0deg,#fff,#a371f4 67%,#da9eff);
}

button:focus {
  outline: 0px;
  box-shadow: 0px;
  -webkit-box-shadow: none;
  border: none !important;
}
button.grey {
  background: #eae9e9 !important;
  color: #000;
}
button.sec {
  background: black;
  color: white;
}
button.rounded {border-radius: 30px !important;}
button.open {
  background: none;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}
button.open.border-primary {
  background: none;
  color: var(--primary-color);
  border: 1px solid var(--primary-color) !important;
}
button:disabled {
  opacity: .5;
}
button.small {
  height: 30px;
  font-size: 12px;
}
button.medium {
  height: 38px;
  font-size: 12px;
}

/* End buttons */


/* Box Sizing / layout */
.h-100 {
  height: 100% !important;
}
.w-100 {
  width: 100% !important;
}
.min-h-100 {
  min-height: 100% !important;
}
.min-w-100 {
  min-width: 100% !important;
}
.vh-100 {
  height: 100vh;
}
.vw-100 {
  width: 100vw;
}
.w-fit-content {
  width: fit-content;
}
.h-fit-content {
  height: fit-content;
}

@media screen and (min-width: 1020px) {
  .w-lg-fit-content {
    width: fit-content;
  }
  .h-lg-100 {
    height: 100%;
  }
}

/* Side nav */
.sidenav {
  background: var(--sidenav-bg);
  height: 100vh;
  z-index: 99 !important;
  left: 0px;
  overflow: auto;
  margin: 0px;
  padding: 15px 0px 30px 0px;
  border-right: 1px solid var(--borderFaint);
}
/* @media only screen and (max-width: 1020px) {
  .sidenav { background: var(--bg_1); }
} */

.sidenav .side-link {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 12px;
  border-left: 3px solid #dee2e6;
  font-family: 'Anuphan';
  gap: 10px;
}
.sidenav .side-link:hover {
  background: #f4f4f4;
}
.sidenav .side-link.active {
  background: #f4f4f4;
  border-left: 3px solid var(--secondary-color);
}
.side-link .side-link-icon {
  fill: var(--grey-color-2);
  width: 30px;
  height: 30px;
  background: #fff;
  padding: 4px;
  border-radius: 4px;
}
.sidenav-overlay {
  position: fixed;
  z-index: 66;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}
@media only screen and (max-width: 968px) {
  .sidenav {
    position: fixed;
    width: 60%;
    height: 100%;
    top: 0;
    z-index: 99;
    display: none;
  }
  .sidenav .side-link {
    font-size: 12px;
  }
}

@media only screen and (min-width: 577px) and (max-width: 968px) {
  .sidenav { width: 40%; }
}

/* Badge */
.badge {
  padding: 6px 12px;
  border-radius: 30px;
}
.badge-warning {
  background: #f3efd7;
  color: #d8bf3e;
  font-weight: 400;
  font-family: 'Gabarito', sans-serif;
}
.badge-success {
  background: #d6f7eb;
  color: #2aca8f;
  font-weight: 400;
  font-family: 'Gabarito', sans-serif;
}
/* end badge */

/* Others */
.radius {border-radius: var(--radius);}
.radius-2 {border-radius: var(--radius-2) !important;}
.radius-3 {border-radius: var(--radius-3) !important;}
.radius-4 {border-radius: var(--radius-4) !important;}
.radius-5 {border-radius: var(--radius-5) !important;}
.py-6 {
  padding-top: 100px;
  padding-bottom: 100px;
}
@media (max-width: 576px) {
  .px-mobile-0 {
    padding-left: 0px;
    padding-right: 0px;
  }
}
.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}
.cursor-pointer {
  cursor: pointer;
}

.border-top { border-color: var(--border) !important; }
.border-bottom { border-color: var(--border) !important; }
.border-left { border-color: var(--border) !important; }
.border-right { border-color: var(--border) !important; }
.border-none { border: none !important; }
.border-none:hover { border: none !important; }
.border-color_1 { border-color: var(--bg_1); }
.border { border-color: var(--border) !important; }
.border-sec { border-color: var(--secondary-color_2) !important; }
.tv-dem-border { border-color: var(--bg_2); }
@media screen and (min-width: 1020px) {
  .border-lg-none {border: none !important;}
}
@media screen and (min-width: 768px) {
  .border-md-none {border: none !important;}
}

.header {
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  background: var(--bg_1);
}

.header .nav-link {
  margin: 0;
  padding: 5px 12px;
  font-family: 'Anuphan';
  font-size: 14px;
}

.header.header-index {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #dee2e6;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 30px;
  position: fixed !important;
  top: 0;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  top: 12px;
  height: 60px;
  z-index: 66;
}

.index-top-margin {
  margin-top: 90px;
}

@media (max-width: 768px) {
  .header.header-index {
    width: 95%;
  }
  .index-top-margin {
    margin-top: 50px;
  }
}

.header-index .menu-toggle {
  height: 2px;
  width: 20px;
  background: black;
}
.menu-content-mboX {
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 31px 7% 0 7%;
  display: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.menu-content-mboX .link {
  color: rgb(239, 237, 237) !important;
  font-size: 22px;
  font-weight: 500;
  font-family: 'anuphan';
  display: block;
  padding: 8px 0px;
}
.menu-content-mboX_bg_overlay {
  background: black;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
}

.index-int-mt {
  margin-top: 110px;
}

/* End header */

.table thead th {
  color: var(--grey-color);
  font-family: 'Anuphan';
  font-size: 14px;
  font-weight: 300;
  border-color: var(--border);
}
.table tbody td {
  border: none;
}
.pointer { cursor: pointer; }

.token-list-item {
  display: flex;
  flex-direction: row;
  padding: 12px 20px;
  gap: 10px;
  align-items: center;
}
.token-list-item:hover {
  background: var(--bg_3);
}

.loading-container {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 6;
  top: 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  display: none;
}

.loading-container .loading-inner {
  background: var(--bg_4);
  padding: 12px;
}

.bottom-padding {
  padding-bottom: 70px;
}
.eoi_cont {
  position: relative;
  width: 40px;
  height: 35px;
  align-items: center;
  justify-content: center;
}

.ring-loader-text {
  color: var(--primary-color);
}
.ring-loader {
  border-left: 4px solid #000;
}

.account-control-panel-overlay {
  background: transparent;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9992;
}
.account-control-panel {
  position: fixed;
  width: 230px;
  right: 20px;
  background: #fff;
  border-radius: 8px;
  z-index: 9999;
  top: 56px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: none;
}
.account-control-panel a:hover, 
.account-control-panel button:hover {
  background: #f4f4f4 !important;
}
.overflow-auto {
  overflow: auto;
}