/* Enhanced Responsive Styles for Best UX */
.ebp-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    border-radius: 8px;
}

.ebp-section {
    background: white;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ebp-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.ebp-field label {
    font-weight: bold;
    margin-bottom: 5px;
}

.ebp-input, .ebp-textarea {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.ebp-slider {
    width: 200px;
}

.ebp-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 4px;
    cursor: pointer;
}

.ebp-btn:hover {
    background: #005a87;
}

.ebp-lead-gen {
    background: #28a745;
}

.ebp-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 16px;
}

.ebp-grand-total {
    font-size: 20px;
    color: #28a745;
}

.ebp-note, .ebp-ai-pro {
    background: #e7f3ff;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.ebp-ai-pro {
    border-left: 4px solid #007cba;
}

#pie-chart {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .ebp-container {
        padding: 10px;
    }
    .ebp-section {
        padding: 10px;
    }
    .ebp-actions {
        flex-direction: column;
    }
    .ebp-btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* Collapsible categories */
.ebp-categories > .ebp-category {
    border: 1px solid #eee;
    padding: 10px;
    margin: 5px 0;
    border-radius: 4px;
}

.ebp-categories > .ebp-category:hover {
    background: #f0f8ff;
}