.form-block {
    position: relative;
}
.form-block__title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin: 0 0 24px;
    text-transform: uppercase;
}
.form-block__content {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.form-block__content_hidden {
    opacity: 0;
    visibility: hidden;
}
.form-block__result {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: #000;
    box-shadow: 0px 16px 40px rgba(14, 15, 25, 0.2);
    border-radius: 16px;
    border: 1px solid #ED1D24;
}
.form-block__result-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.form-block__result-title {
    font-family: var(--font-secondary);
    text-align: center;
    margin: 0 auto;
    position: relative;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.3;
    color: #fff;
}
.form-block__result_active {
    visibility: visible;
    opacity: 1;
}
.form-block_mt {
    margin-top: 50px;
}
.form-block_mt_sm {
    margin-top: 24px;
}
.form-block_mb {
    margin-bottom: 50px;
}
@media screen and (min-width: 768px) {
    .form-block_mt {
        margin-top: 80px;
    }
    .form-block_mb {
        margin-bottom: 80px;
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-group_lg {
    margin-bottom: 40px;
}
.form-group_xl {
    margin-bottom: 80px;
}

.form-label {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 8px;
    display: inline-block;
}

.form-control__wrapper {
    position: relative;
}
.form-control__wrapper[data-suffix] .form-control {
    padding-right: 56px;
}
.form-control__wrapper[data-suffix]:after {
    content: attr(data-suffix);
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 40px;
    border-left: 1px solid #ED1D24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}
.form-control {
    display: block;
    width: 100%;
    height: 40px;
    background-color: #000;
    border: 1px solid #ED1D24;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #FFFFFF;
    padding: 8px 20px;
}
.form-control[required] {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxOCAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOSAwTDExLjAyMDYgNi4yMTg4NUgxNy41NTk1TDEyLjI2OTQgMTAuMDYyM0wxNC4yOTAxIDE2LjI4MTJMOSAxMi40Mzc3TDMuNzA5OTMgMTYuMjgxMkw1LjczMDU2IDEwLjA2MjNMMC40NDA0OTIgNi4yMTg4NUg2Ljk3OTM3TDkgMFoiIGZpbGw9IiNFRDFEMjQiLz48L3N2Zz4=");
    background-position: 4px 4px;
    background-size: 8px;
    background-repeat: no-repeat;
    
}
textarea.form-control {
    height: 140px;
    resize: none;
}
.form-control::-webkit-input-placeholder {
    color: #fff;
}
.form-control::-moz-placeholder {
    color: #fff;
    opacity: 1;
}
.form-control::-ms-input-placeholder {
    color: #fff;
}
.form-control::placeholder {
    color: #fff;
}

.form-output {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    /*background-color: #000;*/
    border-bottom: 4px solid #ED1D24;
    border-radius: 2px;
    box-shadow: none;
    outline: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #FFFFFF;
}

.form-error {
    position: absolute;
    top: 100%;
    margin-top: 2px;
    left: 0;
    font-size: 10px;
    line-height: 1;
    font-weight: normal;
    color: #fff;
}
.form-error.file-error {
    position: relative;
    top: auto;
    margin-top: 10px;
}
.col .form-error,
[class*="col-"] .form-error {
    left: 10px;
    right: 10px;
}

.file-upload {
    display: block;
    position: relative;
    overflow: hidden;
}
.file-upload__inner {
    display: flex;
    align-items: center;
    position: relative;
}
.file-upload__label {
    display: inline-block;
    margin: 0;
}
.file-upload__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    color: #ED1D24;
    position: relative;
    cursor: pointer;
    z-index: 3;
    background: #000000;
    border: 1px dashed #FFFFFF;
    height: 48px;
    padding: 0 32px;
    min-width: 230px;
}
.file-upload__title {
    margin-left: 8px;
}
.file-upload__list {
    margin-top: 20px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.file-upload__list:before {
    content: "Прикрепленные файлы:";
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.21;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.file-upload__list-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.file-upload__list-name {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #ED1D24;
    min-height: 24px;
}
.file-upload__list-del {
    flex: 0 0 auto;
    margin-left: 12px;
    width: 24px;
    height: 24px;
    position: relative;
    color: rgba(255,255,255,0.7);
    top: -2px;
}
.file-upload__list-del:before {
    content: "\e902";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-family: "ural-icons";
    font-size: 14px;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
}
.file-upload__list-del:hover {
    color: #fff;
}
.file-upload__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /*visibility: hidden;*/
    cursor: pointer;
    max-width: 100%;
    z-index: 1;
}

.form-image__wrapper {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 1px solid #999;
}
.form-image {
    width: 100%;
    height: 100%;
    object-position: center center;
    object-fit: cover;
}


.form-helper {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255,255,255,0.8);
}
.form-helper a:not([class]) {
    color: #ED1D24;
    border-bottom: 1px solid transparent;
}
.form-helper a:not([class]):hover {
    border-color: rgba(237, 29, 36, 0.5);
}
.form-helper_mt {
    margin-top: 8px;
}

.checkbox-default,
.radio-default {
    position: relative;
    padding-left: 24px;
}
.checkbox-default.disabled,
.radio-default.disabled {
    opacity: 0.5;
}
.checkbox-default input,
.radio-default input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
}
.checkbox-default input:checked ~ label:before,
.radio-default input:checked ~ label:before {
    background: #ED1D24;
    border-color: #ED1D24;
}
.checkbox-default input:checked ~ label:after,
.radio-default input:checked ~ label:after {
    opacity: 1;
}
.checkbox-default label,
.radio-default label {
    position: relative;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding-left: 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: #FFFFFF;
    cursor: pointer;
    flex-wrap: wrap;
}
.checkbox-default.disabled label,
.radio-default.disabled label {
    cursor: default;
}
.checkbox-default label:before,
.radio-default label:before {
    content: "";
    position: absolute;
    top: 0;
    left: -24px;
    width: 24px;
    height: 24px;
    border: 2px solid #696969;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.radio-default label:before {
    border-radius: 50%;
}
.checkbox-default label:after,
.radio-default label:after {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.checkbox-default label:after,
.radio-default label:after {
    content: "\e90d";
    font-family: "ural-icons";
    font-size: 12px;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    position: absolute;
    top: 6px;
    left: -20px;
}
.radio-default label:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    left: -18px;
}
.checkbox-default + .checkbox-default,
.checkbox-default + .radio-default,
.radio-default + .radio-default,
.radio-default + .checkbox-default {
    margin-top: 16px;
}
.checkbox-default_control_only label,
.radio-default_control_only label {
    padding: 0;
    width: 0;
}

.checkbox-default input.form-control_error ~ label:before,
.radio-default input.form-control_error ~ label:before {
    border-color: #fff;
    box-shadow: 0 0 10px 2px #ED1D24;
}

.radio-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.radio-rating input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
}
.radio-rating input:checked ~ label:before {
    color: #ED1D24;
}
.radio-rating label {
    margin: 0;
    cursor: pointer;
}
.radio-rating label:before {
    content: "\e911";
    font-family: "ural-icons";
    font-size: 28px;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    color: #696969;
    transition: color 0.2s ease;
}

.radio-rating_emoji {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}
.radio-rating_emoji label:before {
    content: none;
    display: none;
}
.radio-rating_emoji label {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.radio-rating_emoji label:nth-of-type(1) {
    background-image: url("../images/icons/emoji/em5.png");
}
.radio-rating_emoji label:nth-of-type(2) {
    background-image: url("../images/icons/emoji/em4.png");
}
.radio-rating_emoji label:nth-of-type(3) {
    background-image: url("../images/icons/emoji/em3.png");
}
.radio-rating_emoji label:nth-of-type(4) {
    background-image: url("../images/icons/emoji/em2.png");
}
.radio-rating_emoji label:nth-of-type(5) {
    background-image: url("../images/icons/emoji/em1.png");
}
.radio-rating_emoji input:checked + label {
    box-shadow: 0 0 0 2px var(--color-primary);
}
@media screen and (min-width: 768px) {
    .radio-rating_emoji label {
        width: 48px;
        height: 48px;
    }
}


.tile-radio__list {
    margin-left: -5px;
    margin-right: -5px;
}
.tile-radio__wrapper {
    margin-bottom: 10px;
    padding: 0 5px;
}
.tile-radio {
    position: relative;
    height: 100%;
}
.tile-radio input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
}
.tile-radio label {
    display: block;
    border: 2px solid transparent;
    padding: 22px 15px 15px;
    height: 100%;
    background: #0C0C0D;
    text-align: center;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.36;
    text-align: center;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.tile-radio__icon-wrapper {
    height: 36px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
}
.tile-radio__icon {
    
}
.tile-radio__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    transition: background 0.2s ease, color 0.2s ease;
}
.tile-radio input:checked ~ label {
    border-color: #ED1D24;
    color: #fff;
}
.tile-radio input:checked ~ label .tile-radio__badge {
    color: #fff;
    background: #ED1D24;
}
@media screen and (min-width: 1200px) {
    .tile-radio__list .tile-radio__wrapper {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

