@font-face {
  font-family: 'Matter';
  font-style: normal;
  font-display: swap;
  src: url('../fonts/MatterRegular.woff2') format('woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Matter';
  font-style: normal;
  font-display: swap;
  src: url('../fonts/MatterMedium.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Matter';
  font-style: normal;
  font-display: swap;
  src: url('../fonts/MatterBold.woff2') format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: 'password';
  font-style: normal;
  font-display: block;
  src: url('../fonts/password.woff2') format('woff2');
}

:root {
  --max-content-width: 375px;
  --content-width: 480px;
  --content-main-width: 480px;
}

:root .astropay_theme_light {
  color-scheme: dark light;
  --ap-splash-background: white;
  --ap-splash-logo-primary: #21e7a6;
  --ap-splash-logo-secondary: #010101;
  --ap-splash-loader-color: #178c8c;
}

:root .astropay_theme_dark {
  color-scheme: dark light;
  --ap-splash-background: #041311;
  --ap-splash-logo-primary: #21e7a6;
  --ap-splash-logo-secondary: white;
  --ap-splash-loader-color: #21e7a6;
}

:root .icash_theme_purple {
  color-scheme: light;
  --ap-splash-background: #eae7fd;
  --ap-splash-logo-primary: #e72121;
  --ap-splash-logo-secondary: white;
  --ap-splash-loader-color: #ffffff;
}

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

#app-init-loading {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  z-index: 5000;
  opacity: 1;
  background: var(--ap-splash-background);
  transition: all 0.4s ease-in-out;
}

#app-init-loading .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#app-init-loading .img-logo {
  max-height: 50px;
  width: auto;
}

#app-init-loading.init-loading-fade-out {
  opacity: 0;
  transition: all 0.4s ease-in-out;
  transition-delay: 0.3s;
}

#app-init-loading .container {
  position: absolute;
  transform: scale(0.4);
  width: 100px;
  height: 100px;
  color: var(--ap-splash-loader-color);
}

#app-init-loading .container.show-logo {
  margin-top: 110px;
}

#app-init-loading .circular {
  animation: app-init-loading-rotate 3s linear infinite;
  height: 100px;
  position: relative;
  width: 100px;
}

#app-init-loading .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke: var(--ap-splash-loader-color);
  animation: app-init-loading-dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

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

@keyframes app-init-loading-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}

li[id^='country-select-option-'] {
  height: fit-content !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.Toastify__toast--error {
  border-radius: 0.357rem !important;
  background: #f2f2f7 !important;
}

.Toastify__toast--error .Toastify__toast-icon svg {
  fill: #f87171 !important;
}

div[type='icon-ap'] svg path[fill] {
  fill: currentColor !important;
}

.layout-container {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 1.429rem;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  width: var(--max-content-width);
  max-width: var(--max-content-width);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-height: 483px;
  margin: 2rem 0;
}
.layout-container[data-in-iframe='true'] {
  width: 100%;
  max-width: 375px;
  max-height: 483px;
  min-height: 483px;
  height: 483px;
}
.layout-container:not([data-in-iframe='true']) {
  width: 375px;
  min-width: 375px;
  max-height: 600px;
  min-height: 600px;
  height: 600px;
}
@media (max-width: 650px) {
  .layout-container:not([data-in-iframe='true']) {
    max-width: unset;
    width: 100%;
    min-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: auto;
    border-radius: 0px;
    border: none;
    box-shadow: none;
    margin: 0;
  }
  .layout-container:not([data-in-iframe='true']) > main {
    height: 100%;
    border-radius: 1.25rem 1.25rem 0 0;
  }
}
@media (max-width: 375px) {
  .layout-container[data-in-iframe='true'] {
    max-width: unset;
    width: 100%;
    min-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: auto;
    border-radius: 0px;
    border: none;
    box-shadow: none;
    margin: 0;
  }
  .layout-container[data-in-iframe='true'] > main {
    height: 100%;
    border-radius: 1.25rem 1.25rem 0 0;
  }
}
