.header-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 20px;
  justify-content: space-between;
  align-items: flex-end;

  .title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 5px;
  }
}

.container {
  background-image: linear-gradient(135deg, transparent 0%, #dc1e806b 25%, #dc1e805b 75%, transparent 100%), url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAIklEQVQoU2N89+7dfwYsQEhIiBEkzDgkFGDzAbIY2Cv4AACvrBgJjYNGfwAAAABJRU5ErkJggg==);
}

.wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-direction: column;
  margin-bottom: 20px;
}

.payment-block {
  display: flex;
  gap: 20px;

  @media (max-width: 768px) {
    padding: 0 20px;

  }
}

.payment-form {
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #000000;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  background: #ffc8e4;
  max-width: 450px;
}

.amount-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .amount-label {
    font-size: .75rem;
    color: #393939;
  }

  .amount-input-container {
    display: flex;
    align-items: center;

    .icon {
      width: 16px;
      height: 16px;
      margin-left: 10px;
      cursor: pointer;
    }
  }

  .amount-number {
    font-size: 1.4375rem;
    font-weight: 900;
  }



  .amount-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.4375rem;
    font-weight: 900;
    width: 80px;
  }
}

.payment-label {
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
}

.details-block {
  display: flex;
  flex-direction: column;
  gap: 4px;

  .detail-label {
    font-size: .875rem;
    color: #707070;
    font-weight: 600;
  }

  .detail-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    .value.blur {
      filter: blur(5px);
    }
  }
}

.copy {
  background: transparent;
  border: none;
  cursor: pointer;
  height: 16px;

  .icon {
    width: 16px;
    height: 16px;
  }
}

.pay-button {
  padding: 12px 16px;
  background: #dc1e81;
  margin: 15px 0px;
  border: none;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  display: none;

  &:hover {
    background: darken(#dc1e81, 5%);
  }

  @media (max-width: 768px) {
    display: block;
  }
  &[disabled], 
  &:disabled {
    background: #afafaf;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.conditions-summary {
  font-size: .875rem;
  color: #707070;
  font-weight: 600;
  margin-top: 20px
}

.paragraph {
  margin-bottom: 5px;
  line-height: 1.25rem;
}


#result {
  margin-bottom: 40px;
}

.qrcode-block {
  height: fit-content;
  padding: 20px;
  background: #053C5E;
  border-radius: 20px;
  max-width: 190px;
  text-align: center;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;


  &.blur {
    img {
      filter: blur(10px);
    }
  }

  @media (max-width: 768px) {
    display: none;
  }
}

.qrcode-label {
  font-size: .875rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 20px;
}

.conditions-accept {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 600;

  input[type="checkbox"] {
    accent-color: #dc1e81;
    margin: 0;
    transform: scale(1.5);
  }

  @media (max-width: 768px) {
    font-size: .875rem;
  }
}


#qr-inner {
  transform: scale(0.8);
  height: auto;
  width: auto;
  padding: 8px;
  background: white;
}

button:disabled,
button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}


.banks {

  .bank-offer-title {
    font-size: .75rem;
    text-align: center;
    color: #707070;
  }

  .list {
    display: flex;
    flex-direction: row;
    gap: 10px;

    .bank {
      background: none;
      border: none;
    }

    .bank-logo {
      height: 35px;
      width: 35px;
      cursor: pointer;
      border-radius: 50%;
    }
  }
}

.additional-btns {
  .additional-btn {
    border: none;
    background: var(--main-bg-color);
    color: #ffffff;
    font-size: .875rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    height: 32px;
    padding: 3px 17px;
    cursor: pointer;
    text-decoration: none;
  }
}

.empty-order {
  justify-content: center;

}

.empty-order-text {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  line-height: 20px;
}