:root {
  --font-black-light: #777777;
  --font-black-dark: #222222;
  --font-white: #ffffff;
  --banner-bg-day: #ffffff;
  --blue-100: #506df5;
  --home-bg: rgb(106, 132, 243);
  --hunter-green: #002825;
  --castle-black: #0a0806;
  --green-120: #001413;
  --green-95: #013834;
  --green-80: #074b48;
  --green-60: #497270;
  --green-40: #7da19f;
  --green-20: #b8d1d0;
  --green-5: #ebfffe;

  --trophy-gold: #ef9c32;
  --gold-120: #b57017;
  --gold-80: #f0ac55;
  --gold-60: #efbf81;
  --gold-40: #f5dab7;
  --gold-20: #fbedda;
  --gold-5: #fdf6ed;
  --white: #d6eae9;
  --white-100: #ffffff;
  --black-22: #222222;

  --error: #ff6666;
  --error-80: #b04443;
  --error-20: #372a29;

  --success: #20c580;
  --success-20: #0a5740;

  --attention: #f2b824;
  --attention-20: #495325;

  --info: #3cc5ee;
  --info-20: #125761;

  --link: #14b9ea;

  --trading-outgoing: #ef6194;
  --trading-incoming: #11bea9;

  --subscape: #e4eeee;
  --subscape-background: #315a5a;

  --shadow: 0px 16px 16px rgba(0, 33, 30, 0.14),
    0px 6px 8px rgba(0, 33, 30, 0.24), 0px 2px 4px rgba(0, 33, 30, 0.34);
  --top-bar: 0vw;
  --iOS-height-fix: unset;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

body {
  margin: 0;
  font-family:
    "Segment",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
  position: relative;
  /* color: var(--white); */
  font-size: 16px;
  /* background-color: var(--hunter-green); */
}

html,
body,
#tally-root {
  height: var(--iOS-height-fix);
  width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

body.popup {
  /* min-width: 384px;
  min-height: 594px; */
  scrollbar-width: none;
  overflow: hidden; /* all scrolling is done internally */
  margin-top: 0 !important;
}
.root-page {
  background: url("./images/custom/container_bg.svg") no-repeat center top;
  background-size: contain;
}
.root-page.loading {
  background: var(--home-bg);
}

a {
  text-decoration: none;
}

button {
  all: unset;
  cursor: pointer;
}

input,
textarea {
  all: unset;
  cursor: text;
  -webkit-user-select: auto;
}

ul,
li {
  all: unset;
  list-style-type: none;
}

form {
  all: inherit;
  padding: 0;
  border-radius: unset;
}

* {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -font-smoothing: antialiased;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
.popup-loading-container {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-loading-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  animation: satellite 3s infinite linear;
  border: 2px solid #fff;
  box-shadow: 0 0 2px #fff;
  border-radius: 100%;
}
.popup-loading:before,
.popup-loading:after {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 24px;
  height: 24px;
  content: "";
  border-radius: 100%;
  background-color: #fff;
  box-shadow: 0 0 12px #fff;
}

.popup-loading:after {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@keyframes satellite {
  from {
    transform: rotate(0) translateZ(0);
  }

  to {
    transform: rotate(360deg) translateZ(0);
  }
}

.standard_width {
  /* width: 352px; */
  width: 95%;
}

.standard_width_padded {
  width: 352px;
  padding: 0px 8px;
  box-sizing: border-box;
}

.center_horizontal {
  margin: 0 auto;
}

.center_text {
  text-align: center;
}

.text-right {
  text-align: right;
}

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

.font_bold {
  font-weight: bold;
}

.align_items_center {
  align-items: center;
}

.justify_content_center {
  justify-content: center;
}

.justify_content_between {
  justify-content: space-between;
}

.flex {
  display: flex;
}
.flex_column {
  flex-direction: column;
}
.flex_1 {
  flex: 1;
}

.serif_header {
  color: #fefefc;
  font-family: "Quincy CF";
  font-size: 38px;
  font-weight: 400;
  padding: unset;
  margin: unset;
}

label {
  display: flex;
  flex-direction: column;
  line-height: 27px;
  margin-top: -5.5px;
}

.label {
  color: var(--green-40);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.42px;
  display: flex;
  justify-content: space-between;
}

.hide {
  opacity: 0;
  pointer-events: none;
}

.no_click {
  pointer-events: none;
}

.divider {
  width: 80%;
  height: 2px;
  opacity: 60%;
  background-color: var(--green-120);
}

.simple_text {
  color: var(--green-40);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ellipsis_multiline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
@supports (-webkit-line-clamp: 2) {
  .ellipsis_multiline {
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.fade_in {
  animation: fade-in ease-in var(--fade-in-duration, 250ms);
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade_out {
  animation: fade-out ease-out var(--fade-out-duration, 250ms);
  opacity: 0;
}

.header_text_17 {
  font-family: PingFangSC-Medium;
  font-size: 17px;
  letter-spacing: 0;
  text-align: center;
  font-weight: 500;
}

.desc_text_12 {
  font-family: PingFangSC-Regular;
  font-size: 12px;
  letter-spacing: 0;
  text-align: center;
  line-height: 16px;
  font-weight: 400;
}

.small_header_text_12 {
  font-family: PingFangSC-Medium;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
}

.content_text_14 {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  letter-spacing: 0;
  text-align: center;
  font-weight: 400;
}

.white100 {
  color: var(--white-100);
}

.black22 {
  color: var(--black-22);
}

.black_light {
  color: var(--font-black-light);
}

.text_success {
  color: var(--success);
}

.text_error {
  color: var(--error);
}

.text_primary {
  color: var(--blue-100);
}

.text_white {
  color: var(--white-100);
}

.font_size_17 {
  font-size: 17px;
}

.font_size_16 {
  font-size: 16px;
}

.font_size_15 {
  font-size: 15px;
}

.font_size_14 {
  font-size: 14px;
}

.font_size_12 {
  font-size: 12px;
}

.center_img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.common-border {
  border-style: solid;
  border-color: #ddd;
  border-width: 0;
}

.common-border.border {
  border-width: 1px;
}

.common-border.border-blue {
  border-color: var(--blue-100);
}

.common-border.border-bottom {
  border-bottom-width: 1px;
}

.margin_top_20 {
  margin-top: 20px;
}

.margin_top_40 {
  margin-top: 40px;
}

.margin_top_28 {
  margin-top: 28px;
}

.margin_top_16 {
  margin-top: 16px;
}

.margin_top_10 {
  margin-top: 10px;
}
.margin_bottom_20 {
  margin-bottom: 20px;
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rotate-animation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.invisible {
  visibility: hidden;
}

.icon_goto {
  width: 16px;
  height: 16px;
  background-image: url(./images/icon_arrow_right.png);
}

.icon_return {
  width: 24px;
  height: 24px;
  mask-image: url(./images/custom/icon_back.svg);
  background-color: black;
  mask-size: 24px;
}

.align_start {
  align-self: start;
}

.align_center {
  align-self: center;
}

.icon_selected {
  mask-image: url(./images/custom/icon_select.svg);
  -webkit-mask-image: url(./images/custom/icon_select.svg);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  background: #506df5;
  width: 20px;
  height: 20px;
}

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;
}

.react-modal-sheet-container {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  max-height: calc(100% - var(--top-bar)) !important;
}

.react-modal-sheet-container.fullScreen {
  height: 100vh !important;
  max-height: 100vh !important;
}

.asset_list_item {
  height: 72px;
  width: 100%;
  border-radius: 16px;
  background-color: var(--green-95);
  display: flex;
  padding: 16px;
  box-sizing: border-box;
  margin-bottom: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.asset_list_item:hover {
  background-color: var(--green-80);
}
.asset_left {
  display: flex;
}
.asset_left_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 16px;
}
.asset_right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.asset_amount {
  height: 17px;
  color: #fefefc;
  line-height: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: -1px;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0;
  font-weight: 400;
}
.bold_amount_count {
  width: 70px;
  height: 24px;
  color: #fefefc;
  line-height: 24px;
  margin-right: 4px;
  font-family: PingFangSC-Regular;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0;
  font-weight: 400;
}
.verify_asset {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Segment";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--attention);
}
