.price-estimator-widget {
    max-width: 800px;
    margin: 20px auto;
    font-family: inherit;
    --primary-color: #C76B4B;
}

.price-estimator-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.price-estimator-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.price-estimator-inputs {
    flex: 1;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-estimator-result {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.price-display h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.price-breakdown {
    font-size: 16px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
}

.price-line.total {
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-color);
}

.price-divider {
    border: none;
    border-top: 2px solid #eee;
    margin: 15px 0;
}

.price-label {
    color: #666;
}

.price-value {
    font-weight: bold;
    color: #333;
}

.price-line.total .price-value {
    color: var(--primary-color);
}

.price-line.discount {
    color: #28a745;
}

.price-line.discount .price-value {
    color: #28a745;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .price-estimator-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .price-estimator-inputs,
    .price-estimator-result {
        width: 100%;
        padding: 20px;
    }
}