/*Reset css*/
/* stylelint-disable */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

#root {
  height: 100%;
}

input::-ms-clear, input::-ms-reveal {
  display: none;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: 'Plus Jakarta Sans', serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
}

*::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/*SubWallet main css*/

body ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}

[tabindex='-1']:focus {
  outline: none;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

abbr[title], abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}

address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}

input[type='text'], input[type='password'], input[type='number'], textarea {
  -webkit-appearance: none;
}

ol, ul, dl {
  margin-top: 0;
  margin-bottom: 1em;
}

ol ol, ul ul, ol ul, ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 500;
}

dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1em;
}

dfn {
  font-style: italic;
}

b, strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub, sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

pre, code, kbd, samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}

figure {
  margin: 0 0 1em;
}

img {
  vertical-align: middle;
  border-style: none;
}

a, area, button, [role='button'], input:not([type='range']), label, select, summary, textarea {
  touch-action: manipulation;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}

input, button, select, optgroup, textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-moz-focus-inner, [type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type='radio'], input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='date'], input[type='time'], input[type='datetime-local'], input[type='month'] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type='number']::-webkit-inner-spin-button, [type='number']::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type='search']::-webkit-search-cancel-button, [type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

.hidden, [hidden] {
  display: none !important;
}

mark {
  padding: 0.2em;
  background-color: #feffe6;
}

/* width */
::-webkit-scrollbar {
  width: 4px;
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 2px;
  width: 0;
  background-color: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: rgba(128, 128, 128, 0.18);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(128, 128, 128, 0.27);
}

/**::-webkit-scrollbar-thumb {
	*/
/* border-radius: 4px;
*/
/* background-color: rgba(128, 128, 128, 0.5);
*/
/*
}
*/
/** {
	*/
/* scrollbar-width: thin;
*/
/* scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
*/
/* scrollbar-gutter: auto;
*/
/*
}
*/
/*SubWallet main css*/

input, button, select, optgroup, textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

body ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  height: 6px;
}

a {
  text-decoration: none;
}

textarea {
  color: inherit;
}

.kn-sui-dropdown-base .menu {
  display: none;
  user-select: none;
  top: 100%;
  position: absolute;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  margin: 0 -2px;
  min-width: calc(100% + 4px);
  width: calc(100% + 2px);
  box-shadow: 0 2px 3px 0 #ccc;
  -webkit-transition: opacity 0.1s ease;
  transition: opacity 0.1s ease;
  background: #fff;
  font-size: 15px;
  border-radius: 8px;
}

.kn-sui-dropdown-base .menu.visible {
  display: block;
}

.kn-sui-dropdown-base .menu .item {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.account-info-container {
  box-sizing: border-box;
  position: relative;
  border: 2px solid;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 0 15px;
}

.account-info-container.-dark {
  border-color: #212845;
}

.account-info-container.-light {
  border-color: #eee;
}

@media only screen and (min-width: 768px) {
  .kn-sui-dropdown-base .menu {
    max-height: 150px;
  }
}

@media only screen and (min-width: 992px) {
  .kn-sui-dropdown-base .menu {
    max-height: 225px;
  }
}

@media only screen and (min-width: 1920px) {
  .kn-sui-dropdown-base .menu {
    max-height: 300px;
  }
}

@media (max-width: 767px) {
  .kn-sui-dropdown-base .menu {
    max-height: 112px;
  }
}

/*Common css*/
html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

.page {
  position: absolute;
  left: 0;
  right: 0;
}

.page-enter {
  opacity: 0;
}

.page-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
}

.page-exit {
  opacity: 1;
}

.page-exit-active {
  opacity: 0;
  display: none;
  transition: opacity 0ms, transform 300ms ease-in-out;
}

.modal-full {
  height: 100%;
}

.modal-full .ant-sw-modal-content {
  border-radius: 0;
  height: 100%;
  padding: 0;
  max-height: unset;
}

.modal-full .ant-sw-modal-header {
  margin: 0;
  border-bottom: 0;
}

.modal-full .ant-sw-modal-body {
  border-radius: 0;
  height: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
}

input, button, select, optgroup, textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

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

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

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

.squircle-border-bg {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjEyMCIgdmlld0JveD0iMCAwIDEyMCAxMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgo8bWFzayBpZD0ibWFzazBfODY0XzczMDgyIiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIzMyIgeT0iMzMiIHdpZHRoPSI1NCIgaGVpZ2h0PSI1NCI+CjxwYXRoIGQ9Ik02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wNi43MDhDNC4xMjkzOCA5Ny41NDUzIDAuNSA4Mi43MjYxIDAuNSA2MEMwLjUgMzcuMjczOSA0LjEyOTM4IDIyLjQ1NDcgMTMuMjkyIDEzLjI5MkMyMi40NTQ3IDQuMTI5MzggMzcuMjczOSAwLjUgNjAgMC41WiIgc3Ryb2tlPSIjMjEyMTIxIi8+Cjwvc3ZnPgo=);
}

.hidden {
  opacity: 0;
}

@keyframes spinner-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

div#popup-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.d-none {
  display: none;
}

.ant-table {
  background: transparent !important;
}

.ant-table .ant-table-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  table-layout: fixed;
}

.ant-table .ant-table-content table .ant-table-thead .ant-table-cell {
  color: rgba(255, 255, 255, 0.65);
  background-color: transparent;
  border: none;
  padding: 0;
  display: table-cell;
  width: 25%;
  font-weight: 500;
}

.ant-table .ant-table-content table .ant-table-thead .ant-table-cell:first-child {
  text-align: start;
  padding-left: 0;
}

.ant-table .ant-table-content table .ant-table-thead .ant-table-cell:last-child {
  padding-right: 0;
}

.ant-table .ant-table-content table .ant-table-thead .ant-table-cell:before {
  content: none !important;
}

.ant-table .ant-table-content table .ant-table-row {
  border-radius: 8px;
}

.ant-table .ant-table-content table .ant-table-row .ant-table-cell {
  border-top: none !important;
  border-bottom: none !important;
  padding: 8px 0;
  background: #1a1a1a;
  margin: 8px 0;
  width: 25%;
}

.ant-table .ant-table-content table .ant-table-row .ant-table-cell:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  text-align: start;
  padding-left: 12px;
}

.ant-table .ant-table-content table .ant-table-row .ant-table-cell:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  padding-right: 12px;
}

.ant-menu-vertical {
  border-inline: none !important;
}

.ant-sw-modal {
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ant-sw-modal .ant-sw-modal-header.ant-sw-modal-header {
  background-color: transparent;
  border-bottom-color: #1a1a1a;
}

.ant-sw-modal .ant-sw-modal-content.ant-sw-modal-content {
  padding-bottom: 0;
  border-bottom: 0;
  background: #0c0c0c;
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.ant-sw-modal .ant-sw-header-container-center .ant-sw-header-center-part {
  width: auto;
  margin-left: 48px;
  margin-right: 48px;
}

.ant-sw-modal .ant-sw-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
  margin-inline-start: 12px;
}

.ant-sw-list-section .ant-sw-list-wrapper {
  position: relative;
}

.ant-sw-list-section .ant-sw-list-wrapper .empty-list {
  position: absolute;
  inset: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.ant-sw-list-section .ant-sw-list-wrapper .empty-list-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ant-form-item-explain {
  text-align: left;
}

.ant-form-item-explain > div:not(:first-of-type) {
  display: none;
}

.ant-page-icon::before {
  display: block;
  border-radius: 100%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

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