/**
 * Стили для многошаговой формы калькулятора
 */

/* Заголовок страницы - уменьшенный размер шрифта */
#px_calc_micro .px_pagetitle h2 {
    font-size: 10px !important;
    line-height: 1.2;
    margin-bottom: 5px;
}

#px_calc_micro .px_pagetitle p {
    font-size: 7px !important;
    line-height: 1.3;
    margin-bottom: 0;
}

#px_calc_form_wizard {
    margin-top: 20px;
}

/* Индикатор прогресса */
.px_wizard_progress {
    margin-bottom: 30px;
    position: relative;
}

.px_wizard_progress_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #da3b64;
    transition: width 0.3s ease;
    z-index: 1;
}

.px_wizard_progress_bar-wrapper {
    position: absolute;
    top: 50%;
    left: 20px;
    height: 3px;
    background: #ddd;
    z-index: 0;
	right: 20px;
}

.px_wizard_steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.px_wizard_step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    transition: all 0.3s ease;
}

.px_wizard_step.active {
    background: #da3b64;
    border-color: #da3b64;
    color: #fff;
}

/* Контент шагов */
.px_wizard_step_content {
    min-height: 300px;
    padding: 20px 0;
}

.px_wizard_step_content h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.px_wizard_step_content .px_form-field {
    margin-bottom: 20px;
}

.px_wizard_step_content label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.px_wizard_step_content input[type="radio"],
.px_wizard_step_content input[type="checkbox"] {
    margin-right: 8px;
}

/* Кнопки навигации */
.px_wizard_buttons {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.px_wizard_buttons .btn {
    min-width: 120px;
}

/* Сообщения */
.px_form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.px_form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.px_form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.px_form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Результат */
.px_calc_result {
    text-align: center;
    padding: 40px 20px;
}

.px_result_probability {
    margin-bottom: 30px;
}

.px_result_probability h2 {
    font-size: 36px;
    color: #da3b64;
}

.px_result_message {
    font-size: 18px;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
}

.px_result_message.success {
    background: #d4edda;
    color: #155724;
}

.px_result_message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Ошибки валидации */
.px_form-field.error input,
.px_form-field.error select,
.px_form-field.error textarea {
    border-color: #dc3545;
}

/* Адаптивность */
@media (max-width: 768px) {
    .px_wizard_step {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .px_result_probability h2 {
        font-size: 24px;
    }
}

/* Стили для ошибок валидации */
.px_form-field.has-error input,
.px_form-field.has-error select,
.px_form-field.has-error textarea {
    border-color: #dc3545;
}

.px_form-error {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.px_form-field input.error,
.px_form-field select.error,
.px_form-field textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}



