﻿.jsf-form {
  box-sizing: border-box;
}

.jsf-form *,
.jsf-form *::before,
.jsf-form *::after {
  box-sizing: inherit;
}

.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}

.jsf-form {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid #E8E9EF;
  background: #fff;
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #242F65;
  box-shadow: 0 15px 42px rgba(9,15,30,0.08);
}

.jsf-form .jsf-container {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 495px;
  margin: 0 auto;
  padding-top: 11px;
  padding-bottom: 13px;
}

.jsf-form .jsf-progress-bar-wrapper {
  display: block;
  padding-left: 24px;
  padding-right: 24px;
  border-bottom: 1px solid #E8E9EF;
}

.jsf-form .jsf-progress-bar {
  position: relative;
  top: 9px;
  max-width: 491px;
  width: 100%;
  margin: 0 auto;
  padding: 7px 48px 23px 0;
  background: 0 0;
  border: none;
  font: inherit;
}

.jsf-form .jsf-progress-container {
  height: 6px;
  width: 100%;
  position: relative;
  background: #E8E9EF;
  border: none;
  border-radius: 8px;
}

.jsf-form .jsf-progress-percents {
  position: absolute;
  right: 0;
  font-size: 13px;
  font-weight: 600;
  top: 0;
}

.jsf-form .jsf-progress-line {
  width: 3.84615%;
  position: absolute;
  left: 0;
  top: -1px;
  right: 0;
  bottom: -1px;
  border-radius: 4px;
  background: #03C899;
}

.jsf-row {
  margin-bottom: 15px;
}

.jsf-form-title {
  font-size: 20px;
  line-height: 22px;
  text-align: center;
  font-weight: 600;
}

.jsf-button {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 54px;
  padding: 0 20px 0 20px;

  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 600;
  text-decoration: none;
  text-align: center;

  border-radius: 54px;
  border: none;
  background-color: #ff8f00;

  cursor: pointer;
  user-select: none;
}

.jsf-button:focus {
  box-shadow: 0 0 0 1px #214283;
  outline: none;
}

.jsf-button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  width: 16px;
  height: 16px;

  transform: translateY(-50%);
  background-image: url('../images/arrow-right.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

@media (min-width: 768px) {
  .jsf-form .jsf-container {
    padding-left: 0;
    padding-right: 0;
  }

  .jsf-form-title {
    font-size: 24px;
    line-height: 26px;
  }
}
