:root {
  --accent: #1c1b1b;
  --purple: #131314;
}

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

body {
  min-height: 100vh;
  height: 100%;
  background: linear-gradient(180deg, #090910 0%, #110f18 100%), #ffffff;
  color: var(--purple);

  font-family: sans-serif;
  line-height: 1.4;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  padding: 8px;
}

h1 {
  padding-bottom: 30px;
}

.userForm {
  padding: 16px;
}

.page-title {
  max-width: 780px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 42px;
  line-height: 105%;

  padding-bottom: 16px;

  text-align: center;

  color: #ffffff;
}

.page-title span {
  background: -webkit-linear-gradient(180deg, #eb93ff 0%, #aecaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-subtitle {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;

  text-align: center;

  color: #ffffff;

  margin-bottom: 40px;
  display: inline-block;
}

.form-container {
  position: relative;

  width: 100%;
  max-width: 894px;
  min-height: 300px;

  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 6px;
  text-align: center;

  margin: 0 auto;
}

.form-subtitle {
  font-family: "Inter", sans-serif;
  font-style: normal;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;

  text-align: left;

  color: #ffffff;

  margin-bottom: 12px;
  margin-top: 20px;
  display: inline-block;
}

.form-radio {
  text-align: left;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  accent-color: #aecaff;
  border: none;
  margin-bottom: 40px;
  line-height: 28px;
}

.radio-subtitle {
  color: #6c6b6b;
}

.input-container {
  display: flex;
  flex-direction: row;
  align-items: center;

  position: relative;

  /* width: 100%; */
  max-width: 400px;
  height: 48px;

  margin: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;

  margin-bottom: 1rem;
}

.input-container input:not(:placeholder-shown) {
  opacity: 1;
}

.input-container input:focus ~ span,
.input-container input:not(:placeholder-shown) ~ span {
  opacity: 1;
}

input[type="text"],
button {
  appearance: none;
  font-family: "Inter", sans-serif;

  border-radius: 3px;
  padding: 1rem;
  width: 100%;
}

.input {
  appearance: none;
  font-family: "Inter", sans-serif;

  border-radius: 3px;
  padding: 1rem;
  width: 100%;
  height: 100%;

  background: transparent;
  border: none;

  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  display: flex;
  align-items: center;

  color: #ffffff;
}

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

  width: 180px;
  height: 180px;

  margin-left: auto;
  margin-right: auto;

  border-radius: 190px;

  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.05);
}

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

  width: 136px;
  height: 136px;
  border-radius: 136px;

  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.05);
}

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

  width: 100px;
  height: 100px;
  border-radius: 100px;

  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.05);
}

.circle-3 img {
  padding: 10px;
}

.circle-1,
.circle-1 * {
  transition: 0.25s ease;
}

button {
  box-sizing: border-box;

  margin: auto;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 8px 6px 8px;

  width: 100%;
  max-width: 400px;
  height: 48px;

  background: #110f18;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;

  cursor: pointer;
}

button:disabled {
  opacity: 0.25;
}

button span {
  background: -webkit-linear-gradient(180deg, #eb93ff 0%, #aecaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
}

.is-hidden {
  display: none !important;
}

.small {
  height: auto !important;
}

a {
  display: block;
  width: max-content;
  margin: 0 auto;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

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

.loading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
}

.loading-spinner svg {
  position: relative;
  animation: rotate 2s linear infinite;
  height: 50px;
  width: 50px;
}

.loading-spinner circle {
  stroke: var(--accent);
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.alert {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  gap: 8px;

  width: 221px;
  height: 35px;

  margin-top: 24px;

  background: rgba(255, 255, 255, 0.05);
  border-radius: 80px;
  visibility: hidden;
  position: absolute;
  bottom: 0px;
}

.alert span {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  /* identical to box height */

  display: flex;
  align-items: center;

  color: #ff5050;
}

.footer-text {
  color: #6c6b6b;
  font-size: 12px;
  font-family: "Inter", sans-serif;
}

.success-container {
  z-index: 10;
  width: 100%;
  max-width: 460px;

  height: 100%;
  max-height: 600px;

  position: absolute;
  margin: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: linear-gradient(
      0deg,
      rgba(26, 26, 35, 0.66),
      rgba(26, 26, 35, 0.66)
    ),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25),
    inset 0px 2px 4px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 24px;
  padding: 24px;
}

.success-container h1 {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 105%;
  /* or 29px */

  margin: 0;
  padding: 24px 16px 16px 16px;

  color: #ffffff;
}

.success-container h2 {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 105%;
  /* or 17px */

  margin: 0;
  padding: 0px 16px 16px 16px;

  color: #ffffff;
}

.success-container .success-emoji {
  font-size: 60px;
}

@media screen and (max-width: 768px) {
  .page-title {
    font-size: 32px;
  }

  .page-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .circle-1 {
    width: 124px;
    height: 124px;

    margin-bottom: 10px;
  }

  .circle-2 {
    width: 88px;
    height: 88px;
  }

  .circle-3 {
    width: 64px;
    height: 64px;
  }

  .circle-3 img {
    width: 56px;
    height: 56px;
  }
}

@media screen and (max-width: 480px) {
  .page-title {
    font-size: 24px;
  }

  .page-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

.iti {
  width: 100%;
  font-family: "Inter", sans-serif;
}

.iti__search-input {
  background-color: #131314;
  color: white;
  font-size: medium;
}

.iti__dropdown-content {
  background-color: #131314;
  color: white;
}

.iti__selected-dial-code {
  color: white;
}

.iti__selected-flag {
  padding: 0 6px 0 16px;
}
