/* Основные стили */
.hcc-calculator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.hcc-calculator h2 {
    color: #3E4C66;
    text-align: center;
    margin-bottom: 30px;
}

.hcc-form-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.hcc-form-section h3 {
    color: #E87635;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.hcc-form-group {
    margin-bottom: 20px;
}

.hcc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #3E4C66;
}

/* Стили для ползунка */
.hcc-form-group input[type="range"] {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.hcc-form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #E87635;
    border-radius: 50%;
    cursor: pointer;
}

.hcc-range-value {
    text-align: center;
    font-size: 18px;
    color: #3E4C66;
    margin-top: 10px;
}

/* Стили для радио-кнопок с изображениями */
.hcc-radio-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hcc-radio-images.small {
    gap: 10px;
}

.hcc-radio-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.hcc-radio-image input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.hcc-radio-image img {
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.hcc-radio-image input[type="radio"]:checked + img {
    border-color: #E87635;
    box-shadow: 0 0 5px rgba(232, 118, 53, 0.5);
}

.hcc-radio-image span {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    color: #3E4C66;
}

/* Стили для чекбоксов */
.hcc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hcc-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

/* Стили для выпадающего списка */
.hcc-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    color: #3E4C66;
}

/* Стили для результата */
.hcc-result-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #3E4C66;
    border-radius: 5px;
    color: #fff;
}

.hcc-result-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
}

.hcc-result {
    font-size: 32px;
    font-weight: bold;
    color: #E87635;
    text-align: center;
    margin-bottom: 20px;
}

.hcc-details {
    font-size: 14px;
}

.hcc-details p {
    margin: 5px 0;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Подсказки */
.hcc-tooltip {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    background-color: #E87635;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    cursor: help;
    position: relative;
}

.hcc-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    width: 200px;
    padding: 10px;
    background-color: #3E4C66;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 100;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 600px) {
    .hcc-radio-images {
        flex-direction: column;
    }
    
    .hcc-calculator {
        padding: 10px;
    }
    
    .hcc-form-section {
        padding: 15px;
    }
}