/*        Proudly provided by
 *               ICW
 *
 * Tech contact: icw.qrpay@madf.info
 *
 * Copyright (c) 2025 ICW
 */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

p {
  margin-bottom: 10px;
}

html,
.btn,
input {
  font-family: "Open Sans", sans-serif;
}

html {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #49546A;
  background: -webkit-gradient(linear, left top, left bottom, from(#EDF1F6), to(#FFF));
  background: linear-gradient(180deg, #EDF1F6 0%, #FFF 100%);
}

.wrapper {
  padding: 20px 20px;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
@supports (-webkit-touch-callout: none) {
  .wrapper {
    min-height: -webkit-fill-available;
  }
}

.content {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  text-align: center;
  color: #5B6477;
  font-weight: 600;
  font-size: 30px;
  height: 60px;
  border-radius: 10px;
  border: 2px solid #D3D3D3;
  background: #FFF;
  outline: none;
}

.btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  gap: 15px;
  border-radius: 8px;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  background: #D3362D;
  color: #fff;
  border: 0;
  outline: none;
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  text-decoration: none;
}
@media (hover: hover) {
  .btn:hover {
    opacity: 0.8;
  }
}
.btn._app {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1.81%, rgba(0, 0, 0, 0)), color-stop(98.19%, rgba(0, 0, 0, 0.2))), #119BFF;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 1.81%, rgba(0, 0, 0, 0.2) 98.19%), #119BFF;
}

.btn._error {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1.81%, rgba(0, 0, 0, 0)), color-stop(98.19%, rgba(0, 0, 0, 0.2))), #2AB033;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 1.81%, rgba(0, 0, 0, 0.2) 98.19%), #2AB033;
}

.btn._repeat {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1.81%, rgba(0, 0, 0, 0)), color-stop(98.19%, rgba(0, 0, 0, 0.2))), #119BFF;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 1.81%, rgba(0, 0, 0, 0.2) 98.19%), #119BFF;
}

.btn img {
  width: 34px;
  height: 34px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.btn-dec,
.btn-inc {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 60px;
  height: 60px;
  border: 2px solid #E8EAEC;
  background: #fff;
  border-radius: 10px;
  padding: 0;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}
@media (hover: hover) {
  .btn-dec:hover,
  .btn-inc:hover {
    opacity: 0.8;
  }
}
.btn-dec:before, .btn-dec:after,
.btn-inc:before,
.btn-inc:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: #D3362D;
  width: 15px;
  height: 3px;
  border-radius: 3px;
}
.btn-dec:before,
.btn-inc:before {
  -webkit-transform: translate(-50%, -50%) rotate(-90deg);
          transform: translate(-50%, -50%) rotate(-90deg);
}
.btn-dec.disabled,
.btn-inc.disabled {
  opacity: 0.35;
}

.btn-dec:before {
  display: none;
}

.header {
  margin-bottom: 30px;
}
.header .header__logo {
  margin: 0 auto 10px;
  width: 180px;
}
.header .header__logo img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.15));
          filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.15));
}
.header .header__txt {
  text-transform: uppercase;
  font-weight: 700;
}

.pay-form {
  margin-bottom: 40px;
  display: none;
}
.pay-form .pay-form__info {
  margin-bottom: 25px;
}

.pay-sum {
  margin-bottom: 25px;
}
.pay-sum label {
  display: block;
  margin-bottom: 10px;
}
.pay-sum .pay-sum__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}
.pay-sum .pay-sum__field {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.select-sum {
  position: relative;
  z-index: 100;
  margin-bottom: 20px;
}
.select-sum:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20px;
  right: -20px;
  bottom: 27px;
  height: 1px;
  background: #DADDE1;
}
.select-sum .select-sum__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.select-sum .select-sum__item {
  font-weight: 600;
  font-size: 22px;
  width: 10px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: center;
  cursor: pointer;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}
.select-sum .select-sum__item.active .select-sum__dot {
  -webkit-transform: scale(1);
          transform: scale(1);
  background: #FFC0B3;
}
.select-sum .select-sum__item.active .select-sum__dot:before {
  background: #FF8269;
}
.select-sum .select-sum__item.active .select-sum__dot:after {
  background: #D3362D;
}
.select-sum .select-sum__dot {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 5px auto 0;
  position: relative;
  -webkit-transition: background 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, transform 0.3s;
  transition: background 0.3s, transform 0.3s, -webkit-transform 0.3s;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}
.select-sum .select-sum__dot:before, .select-sum .select-sum__dot:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 50%;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}
.select-sum .select-sum__dot:before {
  width: 40px;
  height: 40px;
  background: rgba(73, 84, 106, 0.2);
}
.select-sum .select-sum__dot:after {
  width: 22px;
  height: 22px;
  background: rgba(73, 84, 106, 0.5);
}

.app .app__txt {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Error*/

.error {
  display: none;
  margin-bottom: 40px;
}

.error .error__txt {
  margin-bottom: 30px;
  color: #D3362D;
}

.error .error__logo {
  margin: 20px auto 50px;
  width: 140px;
}

.error .error__logo img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.15));
          filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.15));
}

/* Success */

.success {
  display: none;
  margin-bottom: 40px;
}

.success .success__txt {
  margin-bottom: 30px;
}

.success .success__txt1 {
/*  margin-bottom: 30px;*/
  text-transform: uppercase;
  font-weight: 700;
  color: #D3362D;
}

.success .success__logo {
  margin: 20px auto 50px;
  width: 140px;
}

.success .success__logo img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.15));
          filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.15));
}

.progress {
  display: none;
}

.loader {
  width: 100px;
  height: 100px;
  border: 5px solid #FFC0B3;
  border-bottom-color: #D3362D;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  margin: 50px 0 50px 0;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
