.dpm-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.dpm-sidebar {
    width: 250px;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.dpm-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.dpm-mobile-toggle:hover {
    background: #f8fafc;
    border-color: #1e293b;
}

.dpm-mobile-toggle i {
    transition: transform 0.3s ease;
}

.dpm-mobile-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.dpm-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dpm-section-title {
    margin-top: 15px;
    margin-bottom: 5px;
}

.dpm-menu-item {
    padding: 10px 15px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    padding-left: 20px;
}

.dpm-menu-item:hover {
    background: #f9f9f9;
}

.dpm-menu-item.active {
    background: #f1f1f1;
}

.dpm-content-area {
    flex-grow: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .dpm-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .dpm-sidebar {
        width: 100%;
        border-right: none;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .dpm-mobile-toggle {
        display: flex;
    }
    
    .dpm-menu-wrapper {
        display: none; /* Hidden by default on mobile, toggled via JS */
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 15px 10px;
        max-height: 350px;
        overflow-y: auto;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    
    .dpm-menu-wrapper::-webkit-scrollbar {
        width: 6px;
    }
    
    .dpm-menu-wrapper::-webkit-scrollbar-track {
        background: #f1f5f9; 
        border-radius: 4px;
    }
    
    .dpm-menu-wrapper::-webkit-scrollbar-thumb {
        background: #cbd5e1; 
        border-radius: 4px;
    }
    
    .dpm-menu-wrapper::-webkit-scrollbar-thumb:hover {
        background: #94a3b8; 
    }
}