
.steps-work {
    color: white;
    font-family: 'Montserrat', sans-serif;
    border-left: 1px solid #d0a05d6b;
    padding-left: 30px;
}
.number-steps {
    border-right: 1px solid #2f2f2f;
    padding-right: 19px;
}
.brz-embed-content {overflow: visible!important;}
.step-work-inner {
    display: flex;
    gap: 15px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    padding: 22px 0px;
}
/* Основные стили для формы */
.brandbanya-form {
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    color: white;
}

.selected label {
    color: #b28b54;
}
.step-work-inner:first-child {padding-top: 0px!important;}
.step-work-inner::before {
    content: "";
    background: #e3b16a;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    position: absolute;
    top: 24px;
    left: -38px;
    z-index: 2;
}
.step-work-inner::after {
    content: "";
    background: #d0a05d1c;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: absolute;
    top: 12px;
    left: -50px;
}
.step-work-inner:first-child::before {top:0px!important;}
.step-work-inner:first-child::after {
    top: -12px !important;
}
.step-work-inner:last-child {padding-bottom: 0px!important;}
/* Стили для кнопок */
button {
    padding: 12px 24px;
    font-size: 13px;
    cursor: pointer;
    margin: 20px 5px 0 0;
    background-color: #c5985a;
    font-weight: bold;
    border: none;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

button:hover {
    background-color: #ffffff;
    color: #444;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.next-step {
    background: #d4a35f;
    font-size: 14px;
}

.prev-step {
    background: #2d2d2d;
    font-size: 14px;
    float: left;
}

/* Стили для инпутов */
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    background: #2b2b2b;
    padding: 17px 15px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: white;
    border-radius: 8px;
    margin-bottom: 14px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    outline: none;
}

.success-form-ajax, .error-form-ajax {
    color: white;
    font-weight: bold;
    display: none;
    text-align: center;
    margin-top: 20px;
    background: #4caf7e;
    width: fit-content;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-top: 30px;
}

.error-form-ajax {
    color: red;
}

/* Стили для range slider */
.range-slider {
    position: relative;
    width: 100%;
    padding-top: 33px;
    margin-bottom: 61px;
}
.range-min,.range-max {bottom: -25px;}
.range-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, rgb(212 163 95) 55%, rgb(49 49 49) 55%);
    height: 5px;
    outline: none;
    border-radius: 5px;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: #d4a35f;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.range-slider input[type="range"]::-moz-range-thumb {
    background-color: #d4a35f;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.range-slider output {
    position: absolute;
    top: -2px;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    background-color: #d4a35f;
    color: #fff;
    padding: 3px 7px;
    border-radius: 4px;
}

.range-min,
.range-max {
    position: absolute;
    font-size: 12px;
    color: #666;
}

.range-min {
    left: 0;
}

.range-max {
    right: 0;
}

/* Стили для чекбоксов и радиокнопок с изображениями */
.checkbox-image-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.checkbox-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #cccccc45;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 0;
    background-color: inherit;
    padding-bottom: 18px;
}

/* Скрываем стандартные радиокнопки и чекбоксы, но оставляем их доступными для фокуса */
.checkbox-image input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.checkbox-image img {
    width: 100%;
    object-fit: cover;
    display: block;
    height: 18vh;
    margin-bottom: 15px;
    object-position: center;
}

.checkbox-image label {
    font-size: 14px;
    font-weight: normal;
    color: white;
    margin-top: 0;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

/* Стилизация выбранных элементов */
.checkbox-image.selected {
    border-color: #b28b54;
    background-color: inherit;
    border: 2px solid #bd9258;
}

/* Стили для .checkbox-one */
.checkbox-one {
    display: block;
    padding: 10px;
    background-color: #212121;
    border: 1px solid #cccccc3b;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    text-align: center;
    font-size: 14px;
}

/* Общие стили для формы */
label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.error-message {
    color: white;
    font-size: 12px;
    margin-top: 19px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: #ff5555;
    border-radius: 8px;
    padding-bottom: 11px;
    width: fit-content;
    display: none;
}

p {
    margin-top: 15px;
    font-size: 14px;
}

p a {
    color: #b88f56;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

/* Стили для one-checkbox-group */
.one-checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.one-checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    background-color: transparent;
    border: 1px solid #cccccc45;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.one-checkbox-group input[type="checkbox"]:checked {
    background-color: transparent;
    border-color: #b28b54;
    position: relative;
}

.one-checkbox-group input[type="checkbox"]:checked::before {
    content: '✓';
    font-size: 14px;
    color: #b28b54;
    position: absolute;
    top: 0;
    left: 5px;
}

.consent-group label a {
    color: #b88f56;
    text-decoration: none;
}

.consent-group label a:hover {
    text-decoration: underline;
}

.one-checkbox-group label {
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    cursor: pointer;
    margin-top: 0;
    margin-left: 9px;
}

.file-upload {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.file-upload label {
    display: inline-block;
    background-color: #2f2f2f;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
}

.file-upload label:hover {
    background-color: #d4a35f;
}

.file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload .file-name {
    font-size: 12px;
    color: white;
}

@media screen and (max-width:1100px)
{
    .checkbox-image-group {
    grid-template-columns: repeat(2, 1fr);
}
    .one-checkbox-group label {
    width: 80%;
}
}
