.buy-coins {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background-color: #fff;
  border-radius: 20px 20px 0 0;
}
.buy-coins__minimum-wrapper {
  max-height: 29px;
  border-radius: 34px;
  padding: 8px 5px;
  background-color: rgba(255, 1, 1, 0.4);
  margin-left: auto;
}
.buy-coins__minimum-wrapper--error {
  animation: shake 0.3s ease;
}
.buy-coins__minimum {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.buy-coins__title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.buy-coins__title {
  font-size: 24px;
  line-height: 22px;
  margin-bottom: 5px;
  white-space: nowrap;
}
.buy-coins__subtitle,
.buy-coins__title {
  font-family: Lilita One;
  font-weight: 500;
  color: #383c48;
  text-transform: uppercase;
}
.buy-coins__subtitle {
  font-size: 16px;
  line-height: 16px;
}
.buy-coins__info-wrapper {
  width: 100%;
  background: rgba(0, 0, 0, 0);
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e8e7ed;
  display: flex;
  margin-top: 5px;
  gap: 9px;
  padding: 4px;
  margin-bottom: 23px;
}
.buy-coins__info {
  color: #7d8088;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}
.buy-coins__info-value {
  color: #383c48;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.buy-coins__currency-selected-wrapper {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 8px;
  background: #f8f8f9;
  border: 1px solid #e8e7ed;
}
.buy-coins__currency-selected {
  display: flex;
  align-items: center;
  padding-left: 10px;
  margin-bottom: 6px;
}
.buy-coins__currency-selected-name {
  max-width: 65px;
  width: 100%;
  display: flex;
  padding: 4px 8px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  background: #8c9695;
  margin-right: 8px;
  border-radius: 27px;
}
.buy-coins__currency-pay {
  color: #383c48;
  font-size: 16px;
  font-weight: 500 !important;
  line-height: 22px;
  font-weight: 700;
}
.buy-coins__currencies {
  display: flex;
  color: #000;
  justify-content: space-between;
  padding: 0 10px;
  margin-bottom: 16px;
}
.buy-coins__currencies-input input {
  color: #383c48;
  font-family: var(--font-rubik);
  font-size: 20px;
}
.buy-coins__currencies-input input::placeholder {
  color: #383c48 !important;
}
.buy-coins__currencies-selector {
  max-width: 85px;
  width: 100%;
}
.buy-coins__currenci-receive-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
  border-radius: 8px;
  border: 1px solid #e8e7ed;
  background: #f8f8f9;
  padding: 10px;
}
.buy-coins__progress-wrapper {
  border: 1px solid #e8e7ed;
  margin-top: 10px;
  height: 20px;
  width: 100%;
  border-radius: 19px;
}
.buy-coins__progress-bar {
  min-width: 20px;
  background-color: #4bff5c;
  height: 100%;
  border-radius: 19px;
}
.buy-coins__currency-receive {
  color: #383c48;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 4px;
}
.buy-coins__ranking {
  padding: 4px 12px;
  border: 1px solid #e8e7ed;
  border-radius: 8px;
  gap: 20px;
  justify-content: center;
  margin-bottom: 15px;
}
.buy-coins__rank-item,
.buy-coins__ranking {
  display: flex;
  align-items: center;
}
.buy-coins__price-label {
  font-size: 14px;
  color: #7d8088;
  margin-right: 4px;
}
.buy-coins__price-value {
  font-weight: 700;
  color: #383c48;
}
.buy-coins__output-wrapper {
  display: flex;
  align-items: center;
  font-weight: 300;
}
.buy-coins__preset-buttons-wrapper {
  margin-top: 10px;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}
.buy-coins__preset-button {
  display: flex;
  align-items: center;
  border: 1px solid #e8e7ed;
  background-color: #f8f8f9;
  border-radius: 8px;
  padding: 6px 20px;
  font-size: 12px;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
  color: #000;
}
.buy-coins__preset-button-min {
  text-transform: lowercase;
}
.buy-coins__output {
  font-size: 20px;
  color: #383c48;
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  to {
    transform: translateX(0);
  }
}
