/* General Wrapper */
.ccc-calculator-wrapper {
    display: flex;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

#ccc-calculator-form {
    flex: 1;
}

#ccc-results {
    flex: 1;
    max-width: 350px;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
}

/* Form Styling */
.ccc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ccc-form-group {
    flex: 1;
}

.ccc-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

/* Radio Buttons as buttons */
.ccc-radio-group {
    display: flex;
    gap: 10px;
}

.ccc-radio-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    font-weight: normal;
    color:#888 !important;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ccc-radio-btn.active {
    background-color: #e9e9f2;
    border-color: #d71e0f;
    color: #d71e0f !important;
    font-weight: 600;
}

/* Select dropdowns */
select#year, select#engine_volume {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
}

/* Submit Button */
#ccc-calculate-btn {
    width: 100%;
    padding: 12px;
    background-color: #d71e0f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#ccc-calculate-btn:hover {
    background-color: #b8190c;
}

#ccc-calculate-btn:disabled {
    background-color: #b0c4de;
    cursor: not-allowed;
}

/* Results Section */
.ccc-total {
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.ccc-total p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.ccc-total h2 {
    margin: 5px 0 0;
    font-size: 36px;
    color: #333;
}

.ccc-details .ccc-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.ccc-details .ccc-detail-row span:first-child {
    color: #666;
}

.ccc-details .ccc-detail-row span:last-child {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .ccc-calculator-wrapper {
        flex-direction: column;
    }
    #ccc-results {
        max-width: 100%;
    }

    .ccc-form-row {
        flex-direction: column;
    }

    .ccc-form-row.select-row {
        flex-direction: row;
    }
} 