/* ==========================================================================
   КАЛЬКУЛЯТОР ДОЗИРОВОК
   ========================================================================== */
.calculator_section {
    padding: 60px 0;
    background-color: #fcfdfe;
    border-top: 1px solid #edf2f7;
    overflow: visible !important;
    display: block !important;
}

.calc_grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 30px;
    overflow: visible !important;
}

.calc_step_block {
    background: #ffffff;
    border: 1px solid #f0f4f8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.step_title {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.syringe_selector {
    display: flex;
    gap: 15px;
}

.syringe_option {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    background: #fff;
}

.syringe_option.active {
    border-color: var(--primary);
    background-color: var(--secondary-light);
    color: var(--primary);
}

.btn_group_calc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 10px;
}

.calc_btn {
    padding: 10px 5px;
    border: 1px solid #cbd5e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #4a5568;
    transition: all 0.15s ease;
    text-align: center;
}

.calc_btn:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

.calc_btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.calc_results_wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results_card {
    background: #ffffff;
    border: 2px dashed #cbd5e0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
}

.result_text_main {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* Виртуальный шприц */
.visual_syringe_container {
    background: #f7fafc;
    border: 2px solid var(--border);
    border-radius: 50px;
    height: 80px;
    padding: 15px 30px 25px 30px;
    display: flex;
    align-items: flex-start;
    position: relative;
    margin: 20px 0;
}

.ticks_wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    align-items: flex-start;
    position: relative;
}

.syringe_tick {
    width: 2px;
    background-color: #a0aec0;
    position: relative;
    height: 15px;
    transition: var(--transition);
}

.minor_tick {
    height: 12px;
}

.major_tick {
    height: 25px;
    background-color: var(--text-muted);
}

.tick_label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.syringe_tick.filled_liquid {
    background-color: #f6ad55;
    box-shadow: 0 0 4px #f6ad55;
}

.syringe_tick.major_tick.filled_liquid {
    background-color: #e67e22;
}

.calc_info_card {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 4px solid var(--primary);
}

.calc_info_card h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1.05rem;
}

.calc_info_card p {
    font-size: 0.88rem;
    color: #718096;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.formula_view {
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin: 15px 0 0 0;
}

@media (max-width: 992px) {
    .calc_grid {
        grid-template-columns: 1fr;
    }
}