/* ==========================================================================
   step3_size.css — СТИЛИ ДЛЯ ДИНАМИЧЕСКИХ ИНПУТОВ КАЛЬКУЛЯТОРА
   ========================================================================== */

/* Заголовок шага */
.step3-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3d59;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e67e22;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step3-title i {
    color: #e67e22;
    font-size: 20px;
}

/* Контейнер формы */
.step3-form-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Группа инпута */
.step3-input-group {
    margin-bottom: 14px;
}

.step3-input-group:last-child {
    margin-bottom: 0;
}

/* Подпись инпута */
.step3-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* Поле ввода */
.step3-input,
.step3-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.step3-input:focus,
.step3-select:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
    background: #ffffff;
}

.step3-input:hover,
.step3-select:hover {
    border-color: #94a3b8;
}

/* Подсказка под полем */
.step3-hint-text {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

/* Разделитель */
.step3-divider {
    border: none;
    border-top: 1px dashed #e2e8f0;
    margin: 20px 0;
}

/* Виджет армирования */
.otido-status-text {
    background: #f0f9ff;
    border-left: 3px solid #0ea5e9;
    padding: 10px 12px;
    font-size: 12px;
    color: #0c4a6e;
    border-radius: 0 6px 6px 0;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Кнопка-toggle армирования */
.otido-toggle-trigger-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.otido-toggle-trigger-btn:hover {
    background: #2563eb;
}

.otido-toggle-trigger-btn:active {
    transform: scale(0.98);
}

/* Скрытая панель армирования */
.otido-hidden-armature-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
}

.panel-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.panel-row:last-child {
    margin-bottom: 0;
}

.panel-col {
    flex: 1;
}

.panel-col label {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-bottom: 4px;
    font-weight: 500;
}

/* ==========================================================================
   АНИМАЦИИ И АДАПТИВ
   ========================================================================== */

@media (max-width: 768px) {
    .step3-form-box {
        padding: 12px;
    }
    
    .step3-input,
    .step3-select {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .panel-row {
        flex-direction: column;
    }
}
