@import url("fonts/inter/inter.css");
@import "./assets/intlTelInput/css/intlTelInput.css";

.CodeMirror {
  border: 1px solid #eee;
  height: calc(100vh - 280px) !important;
  border-radius: 4px;
}

.CodeMirror-lint-tooltip {
  z-index: 99999999;
}

.CodeMirror-hints {
  z-index: 99999999;
}

.iti__flag {
  background-image: url("assets/intlTelInput/img/flags.webp");
}

@media (min-resolution: 2x) {
  .iti__flag {
    background-image: url("assets/intlTelInput/img/flags@2x.webp");
  }
}

.iti {
  width: 100%;
}

.iti input {
  padding: 17.5px 14px;
  width: 100%;
  border-color: rgba(0, 0, 0, 0.23);
  border-radius: 4px;
}

.iti input:focus-visible {
  outline: none;
}

.iti input:hover {
  border-color: rgba(0, 0, 0, 1);
}

.iti input:focus {
  border-color: #0083ff;
}

.iti__country {
  padding: 12px 10px;
  outline: 0;
}

body {
  margin: 0;
}

#globalProgress {
  position: fixed;
  z-index: 1301;
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
}

.linearActivity {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #b2d9ff;
}

.indeterminate {
  position: relative;
  width: 100%;
  height: 100%;
}

.indeterminate:before {
  content: "";
  position: absolute;
  height: 100%;
  background-color: #0083ff;
  animation: indeterminateFirst 1.5s infinite ease-out;
}

.indeterminate:after {
  content: "";
  position: absolute;
  height: 100%;
  background-color: #66b4ff;
  animation: indeterminateSecond 1.5s infinite ease-in;
}

@keyframes indeterminateFirst {
  0% {
    left: -100%;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 10%;
  }
}

@keyframes indeterminateSecond {
  0% {
    left: -150%;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 10%;
  }
}

.spinner {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border: none;
  border-radius: 50%;
  padding: 0.25em;
  width: 100px;
  height: 100px;
  color: #007fff;
  background-color: transparent;
  font-size: 16px;
  overflow: hidden;
  position: absolute;
  left: calc(50% - 50px);
  top: 40px;
}

.spinner::-webkit-progress-bar {
  background-color: transparent;
}

.spinner:indeterminate {
  -webkit-mask-image:
    linear-gradient(transparent 50%, black 50%),
    linear-gradient(to right, transparent 50%, black 50%);
  mask-image:
    linear-gradient(transparent 50%, black 50%),
    linear-gradient(to right, transparent 50%, black 50%);
  animation: spinner 6s infinite cubic-bezier(0.3, 0.6, 1, 1);
}

.spinner:indeterminate::before,
.spinner:indeterminate::-webkit-progress-value {
  content: "";
  display: block;
  box-sizing: border-box;
  margin-bottom: 0.25em;
  border: solid 6px transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 100% !important;
  height: 100%;
  background-color: transparent;
  animation: spinner-pseudo 0.75s infinite linear alternate;
}

.spinner:indeterminate::-moz-progress-bar {
  box-sizing: border-box;
  border: solid 0.25em transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background-color: transparent;
  animation: spinner-pseudo 0.75s infinite linear alternate;
}

.spinner:indeterminate::-ms-fill {
  animation-name: -ms-ring;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  12.5% {
    transform: rotate(180deg);
    animation-timing-function: linear;
  }
  25% {
    transform: rotate(630deg);
  }
  37.5% {
    transform: rotate(810deg);
    animation-timing-function: linear;
  }
  50% {
    transform: rotate(1260deg);
  }
  62.5% {
    transform: rotate(1440deg);
    animation-timing-function: linear;
  }
  75% {
    transform: rotate(1890deg);
  }
  87.5% {
    transform: rotate(2070deg);
    animation-timing-function: linear;
  }
  100% {
    transform: rotate(2520deg);
  }
}

@keyframes spinner-pseudo {
  0% {
    transform: rotate(-30deg);
  }
  29.4% {
    border-left-color: transparent;
  }
  29.41% {
    border-left-color: currentColor;
  }
  64.7% {
    border-bottom-color: transparent;
  }
  64.71% {
    border-bottom-color: currentColor;
  }
  100% {
    border-left-color: currentColor;
    border-bottom-color: currentColor;
    transform: rotate(225deg);
  }
}
