.section-title {
    font-size: clamp(18px, 32px, 32px);
    font-weight: 500;
    color: #272D30;
    text-align: left;
}

.modal-wrapper .section-title {
    width: 100%;
    text-align: left;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subsection-title {
    font-size: 20px;
    font-weight: 500;
}


.modal-subtitle {
  max-width: 330px;
  margin-bottom: 24px;
  font-size: 1.4rem;
  line-height: 140%;
  color: #031119;
}

.modal-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-fields-row {
  margin-bottom: 12px;
}


.input-field {
    border-radius: 90px;
    width: 100%;
    padding: 18px 25px;
    font-size: 15px;
    border: 1px solid rgba(219, 219, 219, 0.90);
    outline: none;
}

.input-list-wrapper {
    position: relative;
    width: 100%;
    height: 56px;
    margin-bottom: 20px;
}

.input-field.list {
    position: absolute;
    z-index: 2;
    top: 0px;
    left: 0px;
    background-color: white;
}

.form-group.opened .input-field.list {
    border-radius: 28px;
}

.input-field.list .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-field.list img {
    width: 14px;
    height: 14px;
}

.input-field.list .values {
    margin-top: 18px;
    width: 100%;
    display: none;
}

.form-group.opened .input-field.list .values {
    display: block;
}

.input-field.list .row {
    font-size: 13px;
    border-top: 1px solid #c4c4c4;
    padding: 13px 0;
}

.input-field.list .row:last-child {
    padding-bottom: 0px;
}


.form-group .collapse-button {
    display: none;
}

.form-group-botton {
  margin-bottom: 24px;
}


.form-group.opened .collapse-button {
    display: block;
}

.form-group.opened .expand-button {
    display: none;
}

textarea.input-field {
    border-radius: 30px;
}

.input-field:focus-visible {
    border: 1px solid rgba(219, 219, 219, 0.90);
    outline: none;
}

.input-label {
    display: block;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.input-file {
    display: block;
    border: none;
    background-color: transparent;
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 20px;
}

.input-error {
    color: red;
    font-size: 14px;
    margin-top: 7px;
}

.base-button.modal {
    width: 100%;
    background-color: #0093B9;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 18px;
}

body .modal-wrapper {
    padding: 20px;
    border-radius: 20px;
    max-width: 490px;
	margin-top: 180px;
    overflow: hidden;
}

.modal-wrapper .personal-data {
    margin-bottom: 20px;
}

.description-block a,
 .personal-data a {
    color: #4AA9DA;
    text-decoration: underline;
    cursor: pointer;
    display: inline;
}

.modal-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-wrapper .base-button {
    font-size: 1.4rem;
    padding: 1.2rem 2.4rem;
}

vendor[base-button] a,
.base-button {
    border-radius: 90px;
    font-size: 13px;
    font-weight: 500;
    padding: 13px;
    line-height: normal;
    text-align: center;
    user-select: none;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

vendor[base-button] a:hover,
.base-button:hover {
    filter: brightness(1.06);
    transition-duration: 0.1s;
}


.modal-wrapper .base-button.filled {
    background-color: #0093B9;
}

.agreement-text {
    line-height: 114%;
}

.modal-result-text {
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
    margin: 30px 0;
}

.form-group.error .input-field {
    border: 1px solid #f8002c;
}

.form-group.error .input-label.default {
    display: none;
}

.form-group .input-label.error {
    display: none;
    color: #ffb4b4;
}
.form-group.error .input-label.error {
    display: block;
}

.form-result {
    padding: 10px 0;
}

.form-result .section-title {
    line-height: 1.3;
    text-align: center;
    margin-bottom: 15px;
}

.form-result .article {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size:  18px;
    line-height: 1.3;
}

.form-result .line {
    height: 2px;
    width: 100%;
    border-top: 1px solid #d6d6d6;
    margin-bottom: 20px;
}

.form-result .contacts-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
}

.form-result .contacts-section .phone {
    margin-top: 6px;
}

.form-result .contacts-section .text {
    margin-top: 2px;
    margin-left: 8px;
    margin-bottom: 0;
}

.form-result .social-section {
    margin: 30px auto 0px;
    width: fit-content;
}

.hystmodal__wrap .form-agreement-section .agreement-text {
    color: #031119CC;
    font-size: 1.2rem;
}

.hystmodal__wrap .form-agreement-section .agreement-text .link {
    color: #03111999;
}

.checkbox-icon {
    width: 2rem;
    height: 2rem;
    display: block;
}

@media only screen and (max-width: 650px) {
    .form-result .contacts-section {
        flex-direction: column;
        gap: 15px;
    }
}

.full-image-modal-wrapper .full-image {
    width: 100%;
}

.full-image-modal-wrapper {
    width: max-content;
    margin: auto;
}

.full-image-modal-wrapper .full-image img {
    max-width: 90vw;
    max-height: 90vh;
}

@media only screen and (max-width: 650px) {
    .modal-full-image-wrapper {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (max-width: 1172px) {
    .modal-bottom {
        flex-direction: column;
        align-items: stretch;
    }
    /* .form-agreement-section .agreement-text {
        gap: 16px;
    } */
}

@media (max-width: 650px) {
  body .modal-wrapper {
    max-width: calc(100% - 16px);
    padding: 16px;
    border-radius: 20px;
  }

  .modal-fields-row {
    grid-template-columns: 1fr;
  }

  .modal-wrapper .section-title {
    font-size: 2.4rem;
  }
}

.hystmodal__close svg {
	display: none;
}
