small {
  font-size: 0.6rem;
}

.text-muted {
  color: #525252;
}

.text-align-center {
  text-align: center;
}

.text-assistive {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@-webkit-keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading {
  color: transparent !important;
  min-height: 0.8rem;
  pointer-events: none;
  position: relative;
}

.loading::after {
  -webkit-animation: loading 500ms infinite linear;
          animation: loading 500ms infinite linear;
  background: transparent;
  border: 0.1rem solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
  content: "";
  display: block;
  height: 0.8rem;
  left: 50%;
  margin-left: -0.4rem;
  margin-top: -0.4rem;
  opacity: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  width: 0.8rem;
  z-index: 1;
}

* {
  font-family: 'Poppins', sans-serif;
}

body {
  font-size: 14px;
  font-weight: 400;
  background-color: #fff;
}

input.disabled {
  background-color: #eee;
}

select.disabled ~ .select2 .select2-selection {
  background-color: #eee;
}

.converter-box {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 24px 0 rgba(0, 0, 0, .04);
  background-color: #f5f4f9;
}

.converter-title {
  font-size: 24px;
  font-weight: 600;
  color: #1c0462;
  margin: 0 0 24px 0;
  text-align: center;
}

.money-widget {
  display: flex;
}

.money-widget:not(:first-of-type) {
  margin-top: 12px;
}

.money-input {
  display: flex;
}

.amount-label {
  transform: translateX(12px) translateY(4px);
  position: absolute;
  font-size: 10px;
  color: #1c0462;
}

.amount-input {
  height: 1.1876em;
  line-height: 24px;
  padding: 27px 12px 10px;
  border: 0;
  border-radius: 8px 0 0 8px;
  font-size: 16px;
  flex: 1 1 auto;
  width: 1%;
}

.amount-input:focus-visible {
  outline: none;
}

.currency-select {
  flex: 1 1 auto;
  width: auto;
  min-width: 160px;
  border: 0;
  background-color: #fff;
  -moz-appearance: none;
}

.currency-select ~ .select2 .select2-selection {
  height: 100%;
  border: none;
  border-radius: 0 8px 8px 0;
}

.currency-select ~ .select2 .select2-selection__rendered {
  height: 100%;
  color: initial;
}

.currency-select ~ .select2 .select2-selection__arrow {
  height: 100%;
}

.select2-dropdown {
  border: none;
  border-radius: 0 0 8px 8px;
}

.currency-option {
  display: flex;
  align-items: center;
  height: 100%;
  line-height: initial;
  padding: 0 12px;
}

.currency-option-img {
  display: flex;
  justify-content: center;
  height: 20px;
  /* 51px × 20px are the dimensions of the widest flag to this day (Qatar): exact ratio = 1.975308642 */
  width: 51px;
  padding-right: 4px;
}

.currency-option-img img {
  max-height: 100%;
  max-width: 100%;
}

.currency-option-iso {
  display: flex;
  justify-content: center;
  width: 30px;
}

.btn {
  padding: 16px 16px;
  border: none;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: #3005b0;
  color: #fff;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(262deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%), linear-gradient(to bottom, #3005b0, #3005b0);
}

.btn:active {
  background: #3005b0;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.btn.btn-tertiary {
  background: #05f59e;
  color: #1c0462;
}

.btn.btn-tertiary:hover {
  background: linear-gradient(90deg, #05f59e 0%, #80f9cc 100%);
}

.btn-convert {
  margin-top: 32px;
  margin-bottom: 16px;
}

.savings-p {
  font-size: 20px;
}

.savings {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

.exchange-rate-p {
  font-weight: 400;
}

.exchange-rate {
  border-bottom: 1px dotted #808080;
  font-weight: 600;
  cursor: help;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

.logo-wrapper a {
  text-align: center;
}

.logo {
  width: 60%;
  filter: blur(0);
  -webkit-filter: blur(0);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.tippy-content {
  text-align: center;
}
