.multistep-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
}

.step-indicator {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #E4054C;
}

.step-number {
    font-size: 18px;
    font-weight: bold;
    color: #E4054C;
}

.step-number span {
    font-size: 18px;
    font-weight: bold;
    color: #E4054C;
}

.step-name {
    font-size: 18px;
    font-weight: 300;
    color: #181716;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
    text-align: center;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.options-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    justify-items: start;
    padding-bottom: 30px;
}

.option-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 12px 24px;
    color: #111111;
    gap: 10px;
    transition: all 0.3s;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 300;
}

.option-checkbox:hover {
    background: #fff5f7;
}

.option-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 30px;
    height: 30px;
    border: 1px solid #7B7C7E;
    display: inline-block;
    position: relative;
    background: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    border-radius: 0;
}

.option-checkbox input:checked~.custom-checkbox {
    border-color: #E4054C;
    background: #E4054C;
}

.option-checkbox:hover .custom-checkbox {
    border-color: #E4054C;
}

.contact-form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.contact-left-column {
    flex: 1;
}

.contact-left-column input {
    height: 60px;
}

.contact-right-column {
    flex: 1;
}

.range-group {
    margin-bottom: 30px;
    text-align: center;
}

.range-slider-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.range-slider-container input[type="range"] {
    width: 100%;
    height: 12px;
    -webkit-appearance: none;
    background: transparent;
    outline: none;
    border: none !important;
    position: relative;
    z-index: 1;
}

.range-slider-container input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    background: linear-gradient(180deg, #DDDDDD 0%, #ffffff 100%);
    border-radius: 5px;
    border: 1px solid #CCCCCC;
}

.range-slider-container input[type="range"]:focus {
    outline: none;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #E4054C;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(228, 5, 76, 0.3);
    margin-top: -4px;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

.range-slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #E4054C;
    cursor: pointer;
    border: none;
    border-radius: 0;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-tooltip {
    position: absolute;
    background: #E4054C;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    top: -35px;
    box-shadow: 0 2px 8px rgba(228, 5, 76, 0.3);
}

.range-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #E4054C;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    color: #111111;
    font-size: 14px;
    padding: 0 5px;
}

.range-labels span {
    color: #fff;
    font-size: 10.5px;
    background: #9F9F9F;
    border-radius: 3px;
    margin-bottom: 17px;
    padding: 2px 5px;
}

.next-step {
    display: inline-block;
    padding: 13px 200px;
    border: 1px solid #C3C3C3;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    background: #FFFFFF;
    color: #424242;
    min-width: 350px;
    font-weight: bold;
}

.next-step:hover {
    background: #E4054C;
    border-color: #E4054C;
    color: #FFFFFF;
}

.next-step:focus {
    outline: none !important;
}

.submit-btn {
    display: inline-block;
    padding: 13px 200px;
    border: 1px solid #C3C3C3;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    background: #FFFFFF;
    color: #424242;
    min-width: 350px;
    font-weight: bold;
}

.submit-btn:hover {
    background: #c00440;
}

.submit-btn:hover {
    background: #E4054C;
    border-color: #E4054C;
    color: #FFFFFF;
}

.submit-btn:focus {
    outline: none !important;
}

.error-container {
    margin: 20px 0;
    text-align: center;
}

.error-message {
    color: #E4054C;
    font-size: 14px;
    display: inline-block;
    padding: 10px 20px;
    background: #ffebee;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #111111;
    transition: all 0.3s;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E4054C;
    box-shadow: 0 0 0 3px rgba(228, 5, 76, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #E4054C;
}

.agreement {
    font-size: 12px;
    color: #111111;
    margin: 20px 0;
    text-align: left;
}

.agreement a {
    color: #E4054C;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

.form-messages-container {
    margin-top: 20px;
    text-align: center;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert .close {
    float: right;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 20px;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.alert .close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .multistep-form-container {
        padding: 20px;
    }

    .options-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-items: start;
    }

    .option-checkbox {
        padding: 10px 16px;
        font-size: 14px;
        width: 100%;
        justify-content: flex-start;
    }

    .custom-checkbox {
        width: 24px;
        height: 24px;
    }

    .contact-form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-left-column,
    .contact-right-column {
        flex: none;
        width: 100%;
    }

    .step-number {
        font-size: 16px;
    }

    .step-number span {
        font-size: 16px;
    }

    .step-name {
        font-size: 16px;
    }

    .next-step {
        padding: 12px 30px;
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .range-tooltip {
        font-size: 12px;
        padding: 4px 8px;
        top: -30px;
    }
}