@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
:root {
  --mu-input: #332167;
  --mu-ch-tong-input: #978dff;
}

[id="3dscontainer"] {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: -14px;
  left: 0;
  z-index: 10000;
}

html {
  /* font-size: 10px; */
  font-family: "Noto Sans JP", sans-serif;
  background-color: transparent;
}

html body {
  font-size: 0.875rem;
}

body {
  font-size: 0.85rem;
  line-height: 0.85rem;
  color: white;
}

/* Khóa cuộn toàn trang khi modal/overlay mở */
body.__lock-scroll {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overflow: hidden !important; /* desktop/Android */
  top: var(--lock-scroll-top, 0); /* giữ vị trí cũ */
}

body.__lock-scroll .background,
body.__lock-scroll .background-transparent {
  overflow: hidden !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

button,
.btn {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  outline: none;
}
.btn:focus,
.btn:focus-visible,
button:focus,
button:focus-visible {
  outline: none;
  box-shadow: none;
}

.btn::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
} /* Firefox cũ */

/* color */
.text-white {
  color: white;
}

.text-black {
  color: black;
}

.text-orange {
  color: #ff9500;
}

.text-yellow {
  color: #fc0;
}

.text-blue {
  color: #007aff;
}
.text-red {
  color: #fa5959;
}

.text-pink {
  color: #ece4f9;
}

.text-nowrap {
  white-space: nowrap;
}

/* with - height*/
.w-full {
  width: 100%;
}

.w-fit {
  width: fit-content;
}

.h-full {
  height: 100%;
}

.h-fit {
  height: fit-content;
}
/* spacing */
.pt {
  padding-top: 4px;
}

.pt-2 {
  padding-top: 8px;
}

.pt-3 {
  padding-top: 12px;
}

.pt-4 {
  padding-top: 16px;
}

.pt-5 {
  padding-top: 20px;
}

.ps {
  padding-left: 4px;
}

.ps-2 {
  padding-left: 8px;
}

.ps-3 {
  padding-left: 12px;
}

.ps-4 {
  padding-left: 16px;
}

.ps-5 {
  padding-left: 20px;
}

.pe {
  padding-right: 4px;
}

.pe-2 {
  padding-right: 8px;
}

.pe-3 {
  padding-right: 12px;
}

.pe-4 {
  padding-right: 16px;
}

.pe-5 {
  padding-right: 20px;
}

.pb {
  padding-bottom: 4px;
}

.pb-2 {
  padding-bottom: 8px;
}

.pb-3 {
  padding-bottom: 12px;
}

.pb-4 {
  padding-bottom: 16px;
}

.pb-5 {
  padding-bottom: 20px;
}

.pb-30 {
  padding-bottom: 30px;
}

.px-0 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

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

.px-2 {
  padding-left: 8px;
  padding-right: 8px;
}

.px-3 {
  padding-left: 12px;
  padding-right: 12px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-5 {
  padding-left: 20px;
  padding-right: 20px;
}

.py {
  padding-top: 4px;
  padding-bottom: 4px;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.py-5 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.py-17 {
  padding-top: 17px;
  padding-bottom: 17px;
}

.pb-100 {
  padding-bottom: 100px;
}

.pb-70 {
  padding-bottom: 70px;
}

.mt-auto {
  margin-top: auto;
}

.mt-26 {
  margin-top: 26px;
}

.-ml-3 {
  margin-left: -3px;
}

.mr-1 {
  margin-right: 4px;
}

.ml-0_5 {
  margin-left: 2px;
}

/* font-size */
.size-10 {
  font-size: 10px;
  line-height: 14px;
}

.size-12 {
  font-size: 12px;
  line-height: 16px;
}

.size-14 {
  font-size: 14px;
  line-height: 22px;
}

.size-15 {
  font-size: 15px;
  line-height: 18px;
}

.size-16 {
  font-size: 16px;
  line-height: 24px;
}

.size-20 {
  font-size: 20px;
  line-height: 28px;
}

.img-24 {
  /* width: 24px; */
  height: 24px;
}

/* font-weight */
.font-300 {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

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

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* grid */

.grid {
  display: grid;
}

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

.col-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
}

.col-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4px;
}

.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* gap */

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-5 {
  gap: 20px;
}

.gap-40 {
  gap: 40px;
}

/* flex */
.flex {
  display: flex;
}

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

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

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

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

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

/* visibility */
.hide {
  display: none !important;
}

/* visibility */
.hidden {
  visibility: hidden !important;
}

.show {
  display: block !important;
}

/* pointer */

.pointer-cursor {
  cursor: pointer;
}

.pointer-events-none {
  pointer-events: none;
}

/* overflow */

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

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

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

.overscroll-behavior-none {
  overscroll-behavior: none;
}

.overscroll-behavior-contain {
  overscroll-behavior: contain;
}

.overscroll-behavior-auto {
  overscroll-behavior: auto;
}

/* background */

.bg-dark-gray {
  background-color: #313b47;
}

.bg-purple {
  background-color: #322167;
}

/* rounded */
.rounded-16 {
  border-radius: 16px;
}

/* transform */
.rotate-180 {
  transform: rotate(180deg);
}

/* button */
.btn-primary {
  min-height: 2rem;
  position: relative;
  display: inline-block;
  border: 0;
  border-radius: 100px;
  color: white;
  isolation: isolate;
  background: linear-gradient(
    to bottom,
    #550795 0.33%,
    #ff6cfd 0.34%,
    #7924c0 10.26%,
    #360260 45.03%,
    #360260 94.21%,
    #ff6cfd 99.67%
  );
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    #f8e67d 0%,
    #eed56a 3.32%,
    #dbb748 10.27%,
    #cea12f 16.87%,
    #c69420 22.9%,
    #c38f1b 27.85%,
    #e7ca5d 41.72%,
    #f8e67d 48.15%,
    #e7ce63 52.99%,
    #d1ae41 60.51%,
    #c19828 67.65%,
    #b78a19 74.19%,
    #b48514 79.55%,
    #bd9222 83.5%,
    #d6b548 91%,
    #f8e67d 100.03%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.linear-gradient-yellow {
  background-image: linear-gradient(
    90deg,
    #f8e67d 0%,
    #eed56a 3.32%,
    #dbb748 10.27%,
    #cea12f 16.87%,
    #c69420 22.9%,
    #c38f1b 27.85%,
    #e7ca5d 41.72%,
    #f8e67d 48.15%,
    #e7ce63 52.99%,
    #d1ae41 60.51%,
    #c19828 67.65%,
    #b78a19 74.19%,
    #b48514 79.55%,
    #bd9222 83.5%,
    #d6b548 91%,
    #f8e67d 100.03%
  );
}

.button-text {
  background: linear-gradient(
    90deg,
    #f8e67d 0%,
    #eed56a 3.32%,
    #dbb748 10.27%,
    #cea12f 16.87%,
    #c69420 22.9%,
    #c38f1b 27.85%,
    #e7ca5d 41.72%,
    #f8e67d 48.15%,
    #e7ce63 52.99%,
    #d1ae41 60.51%,
    #c19828 67.65%,
    #b78a19 74.19%,
    #b48514 79.55%,
    #bd9222 83.5%,
    #d6b548 91%,
    #f8e67d 100.03%
  );
  -webkit-background-clip: text;
  color: transparent;
  border: none;
}

.btn-base {
  border-radius: 100px;
  background: #5e1e9e;
  border: none;
  color: white;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  width: 100%;
  padding: 17px 16px;
}

.btn-normal {
  background: transparent;
  border: none;
  color: white;
}

.dropdown-container {
  position: relative;
  cursor: pointer;
}

.selected-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--mu-ch-tong-input);
  width: 100%;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #32323f;
  border: 1px solid #5e5e6a;
  border-radius: 8px;
  margin-top: 4px;
  z-index: 1000;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-list.show {
  display: block;
}

.dropdown-list .dropdown-item {
  padding: 14px 20px;
}

.dropdown-list li {
  padding: 10px;
  border-bottom: 1px solid #5e5e6a;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-list li.selected {
  background: #5e5e6a;
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.dropdown-list li:hover {
  background: #5e5e6a;
}

.dropdown-icon {
  transition: transform 0.2s;
}

.dropdown-container.open .dropdown-icon {
  transform: rotate(180deg);
}

.btn-base-disabled {
  border-radius: 100px;
  background: #313B47;
  border: none;
  color: #516377;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  width: 100%;
  padding: 17px 16px;
}

.button-text-disabled {
  color: #516377;
  background: transparent;
}

/* Hide original checkbox */
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* create box custom */
.custom-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #fff;
  border-radius: 2px;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #6c5dd3;
  border-color: #6c5dd3;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: #6c5dd3;
  border-color: #6c5dd3;
  background-image: url("../../../images/tick.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

/* Prevent blue tap highlight on Android for custom checkbox */
.custom-checkbox,
.custom-checkbox * {
  -webkit-tap-highlight-color: transparent;
}

.font-16 {
  font-size: 16px;
}

.wallet-card {
  max-width: 130px;
  height: 56px;
  background: #ffffff;
}

.wallet-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}