/* Calculator Container */
.houzez-calculator-plugin {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.houzez-calculator-plugin h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.calc-section {
    margin-bottom: 25px;
}

/* Form Group */
.calc-form-group {
    margin-bottom: 20px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.calc-value-display {
    font-size: 14px;
    font-weight: 700;
    color: #007bff;
}

.calc-input-group {
    display: flex;
    align-items: center;
    position: relative;
}

.calc-input-prefix {
    position: absolute;
    left: 12px;
    color: #999;
}

.calc-input-text {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

/* Custom Range Slider */
.calc-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    margin-top: 10px;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background .15s ease-in-out;
}

.calc-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.range-markers {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Tab Navigation */
.calc-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.calc-tab-item {
    padding: 12px 20px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.calc-tab-item.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Results Section */
.calc-results {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.result-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.result-row.total {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.result-label {
    color: #666;
}

.result-value {
    font-weight: 600;
    color: #333;
}

/* Buttons */
.btn-calc {
    display: block;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-calc:hover {
    background: #0056b3;
}

.btn-secondary-calc {
    background: #6c757d;
}

.btn-secondary-calc:hover {
    background: #545b62;
}

/* Disclaimer */
.calc-disclaimer {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    font-style: italic;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .calc-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
}
