.exchange-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border-radius: 24px;
  padding: 30px 40px;

  background: radial-gradient(circle at 95% 5%, #3E4528 0%, #1E2220 25%, #1A1E1F 75%);
  animation: rotateGradient 30s linear infinite;
  background-size: 200% 200%;
}

/* вращение градиента */
@keyframes rotateGradient {
  0% {
    background-position: 95% 5%;
  }
  25% {
    background-position: 80% 20%;
  }
  50% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 95% 5%;
  }
}



.exchange-block-left {
  display: flex;
  flex-direction: column;
}

.exchange-block-left label {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.95;
}

.exchange-block-left input {
    font-size: 50px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 12px;
    width: 200px;
    margin-top: 4px;
    transition: 0.4s ease-out;
}

.exchange-block-left input:hover {
    background: #191C21;
    color: #fff;
}

.exchange-block-left small {
    font-size: 16px;
    opacity: 0.6;
    margin-top: 4px;
}

  .exchange-right {
    position: relative;
    display: flex;
    align-items: center;
  }





img.exchange-icon {
    display: block;
    width: 60px;
    border: 2px solid #191c21;
    border-radius: 18px;
}


.currency-select {
  position: relative;
}

.currency-select__trigger {
  background: linear-gradient(90deg, #2E3137 0%, #171A1B 100%);
  border: 2px solid rgb(45 49 41);
  border-radius: 9999px;
  box-shadow: 0px 0px 8px 2px rgb(0 0 0 / 30%);
  color: #fff;
  padding: 10px 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.4s;
}

.currency-select__trigger:hover {
  background: #171A1B;
}

.currency-select__trigger img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.currency-select__trigger span {
  flex: 1;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
}

.currency-select__trigger .arrow {
  margin-left: 8px;
  transition: transform 0.2s;
}

/* Dropdown menu */
.currency-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #171A1B;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 10;
}

/* Each item */
.currency-select__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.currency-select__item:hover {
  background: #2E3137;
}

.currency-select__item img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.currency-select__item span {
  font-size: 16px;
  font-weight: 500;
}

/* Active item */
.currency-select__item.active span {
  color: #c3d442;
}

/* Открытие/закрытие меню только из JS (main.js), не через :focus-within */
.currency-select.is-open .currency-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.currency-select.is-open .currency-select__trigger .arrow {
  transform: rotate(180deg);
}

/* Открытое меню поверх соседних колонок (над "Получаете" и т.д.) */
.exchange-block--menu-open {
  position: relative;
  z-index: 100;
}





.form-wrapper {
  background: #18191C;
  color: #fff;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 12px;
  padding: 40px;
}

.custom-form .uk-form-label {
    color: #f1f1f1;
    font-weight: 400;
    font-size: 18px;
}

.custom-form .custom-input {
  background: #2B2C2F;
  border: 2px solid rgb(255 255 255 / 15%);
  border-radius: 9999px;
  padding: 15px 30px !important;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  box-shadow: 0 0 10px 3px rgb(0 0 0 / 20%);
}

.custom-form .custom-input::placeholder {
  color: #949A9F;
}

.custom-form .custom-input:focus {
  background: #191C1D;
  border: 2px solid #0194FE;
  color: #fff;
}

.note {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

.required {
  color: #ff5555;
}




.exchange-total {
  display: flex;
  flex-direction: column;
  color: #fff;
}

.exchange-total-label {
    color: #f1f1f1;
    font-weight: 400;
    font-size: 18px;
}

.exchange-total-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    gap: 20px;
}
.exchange-total-value {
    font-size: 50px;
    font-weight: 500;
}

.exchange-total-currency {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #2E3137 0%, #171A1B 100%);
  border: 2px solid rgb(255 255 255 / 15%);
  border-radius: 9999px;
  box-shadow: 0px 0px 8px 2px rgb(0 0 0 / 30%);
  padding: 8px 14px;
  gap: 8px;
}

.exchange-total-icon {
  width: 30px;
  height: 30px;
}

.exchange-total-currency span {
    font-size: 18px;
    font-weight: 500;
  color: #fff;
}







  /* Базовый стиль — можно подправить под ваш дизайн */
  .order-info{
    margin: 18px auto;
    color: #e6eef8;
  }

  .order-title{
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
  }

  .order-grid{
    display: grid;
    row-gap: 12px;
    column-gap: 18px;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .order-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
  }

  .order-row dt{
    font-size: 16px;
  }

  .order-row dd{
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
    min-width: 180px;
  }

  /* Статусы */
  .status{
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
  }
  .status--pending{ background: #fff8e6; color: #8a5a00; }
  .status--processing{ background: #e6f4ff; color: #0b5f9e; }
  .status--completed{ background: #e6ffef; color: #0b8a46; }
  .status--cancelled{ background: #ffe6ea; color: #9b2030; }
  .status--unknown{ background: rgba(255,255,255,0.04); color: #cbd7e3; }
