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

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3 {
  margin: 0;
}

h3 {
  margin: 0;
  -webkit-margin-before: 0;
          margin-block-start: 0;
  -webkit-margin-after: 0;
          margin-block-end: 0;
  -webkit-margin-start: 0px;
          margin-inline-start: 0px;
  -webkit-margin-end: 0px;
          margin-inline-end: 0px;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.page {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100%;
  height: 100%;
}

.content {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  background-color: #EEEEEE;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}
@media (min-width: 1024px) {
  .container {
    max-width: 1240px;
    padding: 0 24px;
  }
}

.header {
  padding: 40px 0;
  background-color: #000;
  color: #fff;
}
@media (min-width: 1024px) {
  .header {
    padding: 80px 0;
  }
}

.header__content {
  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-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header__logo {
  margin-bottom: 40px;
}

.title {
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 768px) {
  .title {
    font-size: 48px;
  }
}
@media (min-width: 1440px) {
  .title {
    font-size: 64px;
  }
}

.refund {
  padding-top: 40px;
}
@media (min-width: 1024px) {
  .refund {
    padding-top: 80px;
  }
}

.form__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #C8C8C8;
}
.form__content:last-child {
  border: none;
}
@media (min-width: 1024px) {
  .form__content {
    margin-bottom: 60px;
    padding-bottom: 60px;
    grid-template-columns: 2fr 6fr;
  }
}
@media (min-width: 1440px) {
  .form__content {
    grid-template-columns: 3fr 5fr;
  }
}

.form__caption {
  font-size: 24px;
  line-height: 1.2;
}
@media (min-width: 1440px) {
  .form__caption {
    font-size: 32px;
  }
}
.form__caption h3 {
  font-weight: 500;
  font-style: normal;
}

.form__data {
  padding: 24px;
  margin-bottom: 8px;
  border-radius: 8px;
  background-color: #fff;
}
@media (min-width: 768px) {
  .form__data {
    padding: 32px;
  }
}

.form__checkbox input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

.form__checkbox span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
}
@media (min-width: 1440px) {
  .form__checkbox span {
    font-size: 20px;
  }
}

.form__checkbox span::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  margin-right: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #EEEEEE;
  -webkit-transition: 0.3s linear border;
  transition: 0.3s linear border;
}

.form__checkbox input:not(:disabled):not(:checked) + span:hover::before {
  border-color: #EE4256;
}

.form__checkbox input:focus + span::before {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form__checkbox input:checked + span::before {
  background: url("../img/check.svg") no-repeat center/12px 12px;
  background-color: #EE4256;
}

.form__field {
  width: 100%;
}
.form__field:not(:last-child) {
  margin-bottom: 32px;
}

.label {
  display: inline-block;
  margin-bottom: 2px;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
  color: #888888;
}
@media (min-width: 768px) {
  .label {
    font-size: 16px;
  }
}

.input {
  padding: 20px 16px;
  width: 100%;
  background: #EEEEEE;
  border-radius: 4px;
  outline: 0;
  border: none;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}
.input::-webkit-input-placeholder {
  color: #888888;
}
.input::-moz-placeholder {
  color: #888888;
}
.input:-ms-input-placeholder {
  color: #888888;
}
.input::-ms-input-placeholder {
  color: #888888;
}
.input::placeholder {
  color: #888888;
}
@media (min-width: 1024px) {
  .input {
    padding: 26px 16px;
  }
}
@media (min-width: 1440px) {
  .input {
    font-size: 20px;
  }
}

.form-passport {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 -5px -10px;
}

.form-passport__item {
  position: relative;
  width: 100%;
  min-height: 120px;
  margin: 0 5px 10px;
  background: #EEEEEE;
  border: 1px dashed #888888;
  cursor: pointer;
}
.form-passport__item input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}
.form-passport__item:hover {
  border-color: #EE4256;
}
@media (min-width: 576px) {
  .form-passport__item {
    width: calc(50% - 10px);
  }
}
@media (min-width: 768px) {
  .form-passport__item {
    min-height: 168px;
    width: calc(33.3% - 10px);
  }
}

.form-passport__label {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 16px;
  cursor: pointer;
}

.form-passport__delete {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  color: #EE4256;
  outline: 0;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .form-passport__delete {
    font-size: 16px;
  }
}

.form-passport__preview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 8px;
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
}
.form-passport__preview[src=""] {
  display: none;
}

.form-passport__placeholder {
  margin-bottom: 8px;
  height: 80px;
}
.form-passport__placeholder.front {
  background: url("../img/passport_1.png") no-repeat center/contain;
}
.form-passport__placeholder.back {
  background: url("../img/passport_2.png") no-repeat center/contain;
}
.form-passport__placeholder.inn {
  background: url("../img/passport_inn.png") no-repeat center/contain;
}
.form-passport__placeholder.hidden {
  display: none;
}

.form-passport__name {
  text-align: center;
}

.form__submit {
  width: 100%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 24px 12px;
  color: #fff;
  font-size: 16px;
  background-color: #EE4256;
  border: 1px solid transparent;
  border-radius: 8px;
  -webkit-transition: 0.3s -webkit-transform ease-in;
  transition: 0.3s -webkit-transform ease-in;
  transition: 0.3s transform ease-in;
  transition: 0.3s transform ease-in, 0.3s -webkit-transform ease-in;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .form__submit {
    padding: 32px 16px;
    font-size: 20px;
  }
  .form__submit:hover {
    -webkit-transform: scale(1.02);
            transform: scale(1.02);
  }
}

.form__data_actions {
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .form__data_actions {
    margin-bottom: 70px;
  }
}

.form__contacts {
  font-weight: 400;
  font-size: 14px;
}
.form__contacts p:not(:last-child) {
  margin-bottom: 16px;
}
.form__contacts a {
  color: #EE4256;
}
@media (min-width: 1024px) {
  .form__contacts {
    font-size: 20px;
  }
}

.form__hint {
  display: inline-block;
  margin-top: 18px;
}







.input.invalid {
    border: 1px solid #EE4256
}

.invalid-feedback {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #EE4256
}

.form__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 12px 10px;
    border: 3px solid #EE4256;
    border-radius: 0;
    outline: none;
    box-shadow: 0 15px 25px 0 #ee425651;
    transition: all .3s ease;
    font-size: 24px;
    line-height: 1.33;
    text-transform: uppercase;
    font-weight: 700;
    color: #EE4256;
    display: none
}

.form__loading:hover {
    box-shadow: none
}

@media (max-width:991px) {
    .form__loading {
        padding: 9px 10px;
        font-size: 20px
    }
}

@media (max-width:575px) {
    .form__loading {
        padding: 8px 10px;
        font-size: 16px
    }
}

.form__loading.active {
    display: flex
}

.form__loader {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    margin-right: 10px
}

@media (max-width:575px) {
    .form__loader {
        width: 30px;
        height: 30px
    }
}

.form__loader:after,
.form__loader:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 5px solid transparent;
    border-top-color: #EE4256
}

.form__loader:before {
    z-index: 100;
    -webkit-animation: refund_spin 1s infinite;
    animation: refund_spin 1s infinite
}

.form__loader:after {
    border: 5px solid #ccc
}

@-webkit-keyframes refund_spin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg)
    }

    to {
        -webkit-transform: translate(-50%, -50%) rotate(1turn);
        transform: translate(-50%, -50%) rotate(1turn)
    }
}

@keyframes refund_spin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg)
    }

    to {
        -webkit-transform: translate(-50%, -50%) rotate(1turn);
        transform: translate(-50%, -50%) rotate(1turn)
    }
}