/* ADU Cost Estimator Styles */
.adu-cost-estimator {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

.cost-total {
    background-color: var(--primary-color, #1C3F60);
    color: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 25px;
}

.cost-total h4 {
    margin: 0;
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 0.9;
}

.total-cost {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
}

.estimator-section {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.estimator-section:last-child {
    border-bottom: none;
}

.estimator-section h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color, #1C3F60);
    font-weight: 600;
    font-size: 1.1rem;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    margin: 15px 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color, #1C3F60);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color, #1C3F60);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin-top: 4px;
}

.radio-option label, .checkbox-option label {
    cursor: pointer;
    line-height: 1.4;
}

.cost-detail {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.select-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231C3F60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.contact-section {
    padding-top: 25px;
    text-align: center;
}

.contact-button {
    display: inline-block;
    background-color: var(--primary-color, #1C3F60);
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.contact-button:hover {
    background-color: #162f48;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 63, 96, 0.3);
}

.cost-note {
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.8;
    font-weight: 400;
}

/* Animation for cost updates */
@keyframes costUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cost-updated {
    animation: costUpdate 0.5s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .adu-cost-estimator {
        padding: 20px;
    }
    
    .total-cost {
        font-size: 2rem;
    }
    
    .radio-group {
        gap: 10px;
    }
}
