/* Калькулятор теплоизоляции */
.lte-insulation-calculator {
    padding: 40px 0;
}

.calculator-intro {
    margin-bottom: 40px;
    text-align: center;
}

.calculator-wrapper {
    background-color: #f7f2ed;
    background-color: var(--gray);
    padding: 40px;
    border-radius: 0px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .calculator-wrapper {
        padding: 30px 20px;
    }
}

.calculator-form-section,
.calculator-results-section {
    padding: 20px;
}

.calculator-form-section h3,
.calculator-results-section h3 {
    font-family: 'Barlow', serif;
    font-family: var(--font-headers), serif;
    font-weight: 600;
    letter-spacing: var(--font-headers-letterspacing);
    font-size: 28px;
    margin-bottom: 30px;
    color: #0f2c49;
    color: var(--black);
}

/* Диаграмма */
.calculator-diagram {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 0px;
    text-align: center;
}

.diagram-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.diagram-labels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    color: #0f2c49;
    color: var(--black);
}

.diagram-labels span {
    display: block;
    padding: 8px 12px;
    background-color: #f7f2ed;
    background-color: var(--gray);
    border-left: 3px solid #f35d22;
    border-left: 3px solid var(--main);
}

/* Форма */
.calculator-form .form-group {
    margin-bottom: 25px;
}

.calculator-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f2c49;
    color: var(--black);
    font-size: 16px;
}

.calculator-form .form-control {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    border: 2px solid rgba(15, 44, 73, 0.1) !important;
    border-radius: 0px !important;
    background-color: #ffffff !important;
    color: #0f2c49 !important;
    color: var(--black) !important;
    transition: all 0.3s ease !important;
}

.calculator-form .form-control:focus {
    border-color: #f35d22 !important;
    border-color: var(--main) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(243, 93, 34, 0.1) !important;
}

.calculator-form .form-control::placeholder {
    color: rgba(15, 44, 73, 0.4) !important;
}

.calculator-form .lte-btn-wrap {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.calculator-form .lte-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #f35d22;
    border: 2px solid var(--main);
    background-color: #f35d22;
    background-color: var(--main);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-form .lte-btn:hover {
    background-color: #0f2c49;
    background-color: var(--black);
    border-color: #0f2c49;
    border-color: var(--black);
}

.calculator-form .lte-btn.btn-transparent {
    background-color: transparent;
    border-color: #0f2c49;
    border-color: var(--black);
    color: #0f2c49;
    color: var(--black);
}

.calculator-form .lte-btn.btn-transparent:hover {
    background-color: transparent;
    color: #f35d22;
    color: var(--main);
    border-color: #f35d22;
    border-color: var(--main);
}

/* Результаты */
.calculator-results {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 0px;
    border-left: 4px solid #f35d22;
    border-left: 4px solid var(--main);
}

.calculator-results .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(15, 44, 73, 0.1);
}

.calculator-results .result-item:last-child {
    border-bottom: none;
}

.calculator-results .result-label {
    font-size: 16px;
    color: #0f2c49;
    color: var(--black);
    font-weight: 400;
    flex: 1;
    padding-right: 20px;
}

.calculator-results .result-value {
    font-size: 24px;
    font-weight: 700;
    color: #f35d22;
    color: var(--main);
    font-family: 'Barlow', serif;
    font-family: var(--font-headers), serif;
    white-space: nowrap;
}

.calculator-empty {
    background-color: #ffffff;
    padding: 60px 30px;
    border-radius: 0px;
    text-align: center;
}

.calculator-empty p {
    color: rgba(15, 44, 73, 0.5);
    font-size: 16px;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 991px) {
    .calculator-form-section,
    .calculator-results-section {
        padding: 10px;
    }
    
    .calculator-results-section {
        margin-top: 30px;
    }
    
    .calculator-results .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .calculator-results .result-label {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .calculator-form .lte-btn-wrap {
        flex-direction: column;
    }
    
    .calculator-form .lte-btn {
        width: 100%;
    }
}
